PHP Class FluidTYPO3\Vhs\ViewHelpers\Once\InstanceViewHelper

Displays nested content or "then" child once per instance of the content element or plugin being rendered, as identified by the contentObject UID (or globally if no contentObject is associated). "Once"-style ViewHelpers are purposed to only display their nested content once per XYZ, where the XYZ depends on the specific type of ViewHelper (session, cookie etc). In addition the ViewHelper is a ConditionViewHelper, which means you can utilize the f:then and f:else child nodes as well as the "then" and "else" arguments.
Inheritance: extends AbstractOnceViewHelper
Show file Open project: fluidtypo3/vhs

Protected Methods

Method Description
assertShouldSkip ( ) : boolean
getIdentifier ( ) : string
storeIdentifier ( ) : void

Method Details

assertShouldSkip() protected method

protected assertShouldSkip ( ) : boolean
return boolean

getIdentifier() protected method

protected getIdentifier ( ) : string
return string

storeIdentifier() protected method

protected storeIdentifier ( ) : void
return void