PHP Class FluidTYPO3\Vhs\ViewHelpers\Format\WordWrapViewHelper

Wraps a string to $limit characters and at $break character while maintaining complete words. Concatenates the resulting strings with $glue. Code is heavily inspired by Codeigniter's word_wrap helper.
Inheritance: extends TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper, use trait FluidTYPO3\Vhs\Traits\DefaultRenderMethodViewHelperTrait
Afficher le fichier Open project: fluidtypo3/vhs

Méthodes publiques

Méthode Description
initializeArguments ( ) : void
renderStatic ( array $arguments, Closure $renderChildrenClosure, TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext ) : mixed

Method Details

initializeArguments() public méthode

public initializeArguments ( ) : void
Résultat void

renderStatic() public static méthode

public static renderStatic ( array $arguments, Closure $renderChildrenClosure, TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext ) : mixed
$arguments array
$renderChildrenClosure Closure
$renderingContext TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface
Résultat mixed