Class Index | File Index

Classes


Namespace fec.cookies

fec.cookies
Defined in: yaf4ajn.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Cookie handling class
Method Summary
Method Attributes Method Name and Description
<static>  
fec.cookies.erase(cname)
Removes a cookie
<static>  
fec.cookies.get(cname, defaultValue)
Returns the cookie value for the given name.
<static>  
fec.cookies.set(cname, value, hours)
Creates a cookie
Namespace Detail
fec.cookies
Cookie handling class
Method Detail
<static> fec.cookies.erase(cname)
Removes a cookie
Parameters:
{string} cname
The name of the cookie to be erased.

<static> fec.cookies.get(cname, defaultValue)
Returns the cookie value for the given name.
Parameters:
{string} cname
The name of the cookie to retrieve.
{string} defaultValue
The defaultValue for the cookie, if none is found.

<static> fec.cookies.set(cname, value, hours)
Creates a cookie
Parameters:
{string} cname
The name of the cookie.
{string} value
The value of the cookie.
{null|number} hours
Number of hours after the cookie will expire. If hours is null, the cookie will be a session cookie.

Documentation generated by JsDoc Toolkit 2.1.0 on Mon Mar 09 2009 11:54:49 GMT+0100 (CET)