PHP Class FluidTYPO3\Vhs\ViewHelpers\Format\PrependViewHelper

Prepends one string on another. Although this task is very easily done in standard Fluid - i.e. {add}{subject} - this ViewHelper makes advanced chained inline processing possible: {dateTime.timestamp -> v:math.sum(b: 3600) -> v:format.prepend(add: '@') -> v:format.date(format: 'Y-m-d H:i')}
Inheritance: extends TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper
Datei anzeigen Open project: fluidtypo3/vhs

Public Methods

Method Description
render ( string $add, string $subject = null ) : string

Method Details

render() public method

public render ( string $add, string $subject = null ) : string
$add string
$subject string
return string