Formatting output Plese Wait...

zCookie Class Reference
[Cookie Management.]

Cookie Management Class. More...

Inheritance diagram for zCookie:

Inheritance graph
[legend]
Collaboration diagram for zCookie:

Collaboration graph
[legend]

Public Member Functions

 zCookie ()
 __construct ()
 getEncrypted ($key=null)
 Get value of an encrypted cookie variable.
 setEncrypted ($key, $val, $expire=null, $path='', $domain=null, $secure=null, $httpOnly=null)
 Set value of a cookie variable in encrypted format.
 getPlain ($key=null)
 get's value of a Plain(UnEncrypted) cookie data.
 setPlain ($key, $val, $expire=0, $path='', $domain=null, $secure=null, $httpOnly=null)
 Puts Cookie data in Plain text format(e.g.
 setRaw ($key, $val, $expire=0, $path=null, $domain=null, $secure=null, $httpOnly=null)
 Send a Raw Cookie.
 remove ($key=null)
 Removes a Key from Cookie.
 keyExists ($key=null)
 Checks wheather a Key exists with the name provided or not.

Detailed Description

Cookie Management Class.

zCookie Class can be used with its static methods e.g. zCookie::methodName() like zCookie::getPlain() or zCookie::setPlain() etc.. zCookie can also be used from its Instance in ROM. which can be found on $request->cookie through $request Global Variable. and as ROM engine is embeded into Controller you can also use $this->request->cookie to call a static/non-static method from the Instance. zCookie Class holds several static and non-static methods static methods can be called without an instance where as you must use ROM engine to call a non-static method. You can also use PHP's $_COOKIE with it however this is more structured way. setting and getting variables through $_COOKIE would work like zCookie::setPlain() and zCookie::getPlain(). It also Supports Magic Methods like getName(), setName('Foo') etc..

Definition at line 40 of file cookie_handler.php.


Constructor & Destructor Documentation

zCookie::__construct( ) 


Member Function Documentation

zCookie::zCookie( ) 

zCookie::getEncrypted( string $key = null ) 

zCookie::setEncrypted( string $key, mixed $val, int $expire = null, string $path = '', string $domain = null, boolen $secure = null, boolean $httpOnly = null )

zCookie::getPlain( string $key = null ) 

zCookie::setPlain( string $key, mixed $val, int $expire = 0, string $path = '', string $domain = null, boolen $secure = null, boolean $httpOnly = null )

zCookie::setRaw( string $key, mixed $val, int $expire = 0, string $path = null, string $domain = null, boolen $secure = null, boolean $httpOnly = null )

zCookie::remove( string $key = null ) 

zCookie::keyExists( string $key = null ) 


The documentation for this class was generated from the following file:

Generated on Mon Oct 27 23:53:23 2008 for zigmoyd.kdevelop by doxygen 1.5.6
CompoundsX
Build Compounds List