CropViewHelper extends AbstractViewHelper
This class is the implementation of a Fluid ViewHelper.
View this class in the TYPO3 ViewHelper reference: <f:format.crop>
FinalYes
ViewHelper which can crop (shorten) a text.
Whitespace within the <f:format.crop>
element will be counted as characters.
<f:format.crop maxCharacters="10" append="…[more]">
This is some very long text
</f:format.crop>
Tags
Table of Contents
Properties
- $escapeOutput : bool
- The output may contain HTML and can not be escaped.
Methods
- initializeArguments() : void
- render() : string
Properties
$escapeOutput
The output may contain HTML and can not be escaped.
protected
bool
$escapeOutput
= false
Methods
initializeArguments()
public
initializeArguments() : void
render()
public
render() : string