====== CookieHandler class ====== ---- Main class with all available cookie functionalities. ===== Constructors ===== |<100% 30% 70%>| | [[libraries:cookiehandler:cookiehandlerclass:construct|__construct()]] | Instantiates a new instance of CookieHandler class. | ===== Properties ===== none ===== Methods ===== |<100% 30% 70%>| | [[libraries:cookiehandler:cookiehandlerclass:deletecookie|DeleteCookie()]] | Removes a cookie at the end of the session. | | [[libraries:cookiehandler:cookiehandlerclass:getdomain|GetDomain()]] | Returns the domain set for the current cookie. | | [[libraries:cookiehandler:cookiehandlerclass:getname|GetName()]] | Returns the name set for the current cookie. | | [[libraries:cookiehandler:cookiehandlerclass:getpath|GetPath()]] | Returns the path set for the current cookie. | | [[libraries:cookiehandler:cookiehandlerclass:getvalidity|GetValidity()]] | Returns the validity/lifespan set for the current cookie. | | [[libraries:cookiehandler:cookiehandlerclass:readjsoncontent|ReadJsonContent()]] | Returns JSON content of the cookie as array. | | [[libraries:cookiehandler:cookiehandlerclass:readobjectcontent|ReadObjectContent()]] | Returns the serialized content of the cookie as PHP object. | | [[libraries:cookiehandler:cookiehandlerclass:readtextcontent|ReadTextContent()]] | Returns the text content of the current cookie. | | [[libraries:cookiehandler:cookiehandlerclass:setdomain|SetDomain()]] | Sets the domain valid for the cookie. | | [[libraries:cookiehandler:cookiehandlerclass:setname|SetName()]] | Sets the name of the cookie. | | [[libraries:cookiehandler:cookiehandlerclass:setpath|SetPath()]] | Sets the path valid for the cookie. | | [[libraries:cookiehandler:cookiehandlerclass:setvalidity|SetValidity()]] | Sets the validity/lifespan for the current cookie. | | [[libraries:cookiehandler:cookiehandlerclass:writejsoncontent|WriteJsonContent()]] | Writes an array as JSON content of the cookie. | | [[libraries:cookiehandler:cookiehandlerclass:writeobjectcontent|WriteObjectContent()]] | Writes a PHP object as storable content of the cookie. | | [[libraries:cookiehandler:cookiehandlerclass:writetextcontent|WriteTextContent()]] | Writes text as content of the cookie. | ~~NOTOC~~