PHP Class FluidTYPO3\Vhs\ViewHelpers\Format\Placeholder\LipsumViewHelper

Renders Lorem Ipsum text according to provided arguments.
Inheritance: extends TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper
Afficher le fichier Open project: fluidtypo3/vhs

Protected Properties

Свойство Type Description
$configurationManager TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface
$contentObject TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer
$lipsum string

Méthodes publiques

Méthode Description
initialize ( ) : void
initializeArguments ( ) Initialize arguments
injectConfigurationManager ( TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface $configurationManager ) : void
render ( string $lipsum = null ) : string Renders Lorem Ipsum paragraphs. If $lipsum is provided it will be used as source text. If not provided as an argument or as inline argument, $lipsum is fetched from TypoScript settings.

Méthodes protégées

Méthode Description
getDefaultLoremIpsum ( ) : string Get the default Lorem Ipsum. The compressed block (which is of course cleaned thoroughly to avoid any injection) contains 20 full paragraphs of Lorem Ipsum in standard latin. No bells and whistles there.

Method Details

getDefaultLoremIpsum() protected méthode

Get the default Lorem Ipsum. The compressed block (which is of course cleaned thoroughly to avoid any injection) contains 20 full paragraphs of Lorem Ipsum in standard latin. No bells and whistles there.
protected getDefaultLoremIpsum ( ) : string
Résultat string

initialize() public méthode

public initialize ( ) : void
Résultat void

initializeArguments() public méthode

Initialize arguments
public initializeArguments ( )

injectConfigurationManager() public méthode

public injectConfigurationManager ( TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface $configurationManager ) : void
$configurationManager TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface
Résultat void

render() public méthode

Renders Lorem Ipsum paragraphs. If $lipsum is provided it will be used as source text. If not provided as an argument or as inline argument, $lipsum is fetched from TypoScript settings.
public render ( string $lipsum = null ) : string
$lipsum string String of paragraphs file path or EXT:myext/path/to/file
Résultat string

Property Details

$configurationManager protected_oe property

protected ConfigurationManagerInterface,TYPO3\CMS\Extbase\Configuration $configurationManager
Résultat TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface

$contentObject protected_oe property

protected ContentObjectRenderer,TYPO3\CMS\Frontend\ContentObject $contentObject
Résultat TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer

$lipsum protected_oe property

protected string $lipsum
Résultat string