PHP 클래스 FluidTYPO3\Vhs\ViewHelpers\Format\Placeholder\LipsumViewHelper

Renders Lorem Ipsum text according to provided arguments.
상속: extends TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper
파일 보기 프로젝트 열기: fluidtypo3/vhs

보호된 프로퍼티들

프로퍼티 타입 설명
$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