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
Afficher le fichier Open project: fluidtypo3/vhs

Méthodes protégées

Méthode Description
assertShouldSkip ( ) : boolean
removeCookie ( ) : void
removeIfExpired ( ) : void
storeIdentifier ( ) : void

Method Details

assertShouldSkip() protected méthode

protected assertShouldSkip ( ) : boolean
Résultat boolean

removeCookie() protected méthode

protected removeCookie ( ) : void
Résultat void

removeIfExpired() protected méthode

protected removeIfExpired ( ) : void
Résultat void

storeIdentifier() protected méthode

protected storeIdentifier ( ) : void
Résultat void