PHP Class FluidTYPO3\Vhs\ViewHelpers\Once\CookieViewHelper

Displays nested content or "then" child once, then sets a cookie with $ttl, optionally locked to domain name, which makes the condition return FALSE as long as the cookie exists. "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
Datei anzeigen Open project: fluidtypo3/vhs

Protected Methods

Method Description
assertShouldSkip ( ) : boolean
removeCookie ( ) : void
removeIfExpired ( ) : void
storeIdentifier ( ) : void

Method Details

assertShouldSkip() protected method

protected assertShouldSkip ( ) : boolean
return boolean

removeCookie() protected method

protected removeCookie ( ) : void
return void

removeIfExpired() protected method

protected removeIfExpired ( ) : void
return void

storeIdentifier() protected method

protected storeIdentifier ( ) : void
return void