PHP Класс FluidTYPO3\Vhs\ViewHelpers\Format\Placeholder\LipsumViewHelper

Renders Lorem Ipsum text according to provided arguments.
Наследование: extends TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$configurationManager TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface
$contentObject TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer
$lipsum string

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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.

Описание методов

getDefaultLoremIpsum() защищенный Метод

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
Результат string

initialize() публичный Метод

public initialize ( ) : void
Результат void

initializeArguments() публичный Метод

Initialize arguments
public initializeArguments ( )

injectConfigurationManager() публичный Метод

public injectConfigurationManager ( TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface $configurationManager ) : void
$configurationManager TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface
Результат void

render() публичный Метод

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
Результат string

Описание свойств

$configurationManager защищенное свойство

protected ConfigurationManagerInterface,TYPO3\CMS\Extbase\Configuration $configurationManager
Результат TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface

$contentObject защищенное свойство

protected ContentObjectRenderer,TYPO3\CMS\Frontend\ContentObject $contentObject
Результат TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer

$lipsum защищенное свойство

protected string $lipsum
Результат string