PHP Класс FluidTYPO3\Vhs\ViewHelpers\Once\AbstractOnceViewHelper

Наследование: extends TYPO3\CMS\Fluid\Core\ViewHelper\AbstractConditionViewHelper
Показать файл Открыть проект

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

Свойство Тип Описание
$identifiers array Standard storage - static variable meaning uniqueness of $identifier across each Request, i.e. unique to each individual plugin/content.

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

Метод Описание
initializeArguments ( ) : void Initialize arguments
render ( ) : string Standard render method. Implementers should override the assertShouldSkip() method and/or the getIdentifier() and storeIdentifier() methods as applies to each implementers method of storing identifiers.

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

Метод Описание
assertShouldSkip ( ) : boolean
getIdentifier ( ) : string
removeIfExpired ( ) : void
renderThenChild ( ) : string Override: forcibly disables page caching - a TRUE condition in this ViewHelper means page content would be depending on the current visitor's session/cookie/auth etc.
storeIdentifier ( )

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

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

protected assertShouldSkip ( ) : boolean
Результат boolean

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

protected getIdentifier ( ) : string
Результат string

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

Initialize arguments
public initializeArguments ( ) : void
Результат void

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

protected removeIfExpired ( ) : void
Результат void

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

Standard render method. Implementers should override the assertShouldSkip() method and/or the getIdentifier() and storeIdentifier() methods as applies to each implementers method of storing identifiers.
public render ( ) : string
Результат string

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

Returns value of "then" attribute. If then attribute is not set, iterates through child nodes and renders ThenViewHelper. If then attribute is not set and no ThenViewHelper and no ElseViewHelper is found, all child nodes are rendered
protected renderThenChild ( ) : string
Результат string rendered ThenViewHelper or contents of if no ThenViewHelper was found

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

protected storeIdentifier ( )

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

$identifiers защищенное статическое свойство

Standard storage - static variable meaning uniqueness of $identifier across each Request, i.e. unique to each individual plugin/content.
protected static array $identifiers
Результат array