PHP Class FluidTYPO3\Vhs\ViewHelpers\Once\AbstractOnceViewHelper

Inheritance: extends TYPO3\CMS\Fluid\Core\ViewHelper\AbstractConditionViewHelper
Afficher le fichier Open project: fluidtypo3/vhs

Protected Properties

Свойство Type Description
$identifiers array Standard storage - static variable meaning uniqueness of $identifier across each Request, i.e. unique to each individual plugin/content.

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
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 ( )

Method Details

assertShouldSkip() protected méthode

protected assertShouldSkip ( ) : boolean
Résultat boolean

getIdentifier() protected méthode

protected getIdentifier ( ) : string
Résultat string

initializeArguments() public méthode

Initialize arguments
public initializeArguments ( ) : void
Résultat void

removeIfExpired() protected méthode

protected removeIfExpired ( ) : void
Résultat void

render() public méthode

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
Résultat string

renderThenChild() protected méthode

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
Résultat string rendered ThenViewHelper or contents of if no ThenViewHelper was found

storeIdentifier() protected méthode

protected storeIdentifier ( )

Property Details

$identifiers protected_oe static_oe property

Standard storage - static variable meaning uniqueness of $identifier across each Request, i.e. unique to each individual plugin/content.
protected static array $identifiers
Résultat array