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.
Datei anzeigen
Open project: fluidtypo3/vhs
Protected Methods
Method Details
assertShouldSkip()
protected method
removeCookie()
protected method
removeIfExpired()
protected method
storeIdentifier()
protected method