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.
Afficher le fichier
Open project: fluidtypo3/vhs
Méthodes protégées
Method Details
assertShouldSkip()
protected méthode
removeCookie()
protected méthode
removeIfExpired()
protected méthode
storeIdentifier()
protected méthode