Namespace | tinymce.util |
Class | Cookie |
Type | Singleton |
Method | Defined By |
---|---|
get(n:String):String
[static] Gets the raw data of a cookie by name.
|
Cookie |
getHash(n:String):Object
[static] Parses the specified query string into an name/value object.
|
Cookie |
remove(name:String, path:Strong, domain:Strong):void
[static] Removes/deletes a cookie by name.
|
Cookie |
set(n:String, v:String, e:Date, p:String, d:String, s:String):void
[static] Sets a raw cookie string.
|
Cookie |
setHash(n:String, v:Object, e:Date, p:String, d:String, s:String):void
[static] Sets a hashtable name/value object to a cookie.
|
Cookie |
public static
function get(n:String):String
n:String | Name of cookie to retrive. |
public static
function getHash(n:String):Object
n:String | String to parse into a n Hashtable object. |
public static
function remove(name:String, path:Strong, domain:Strong):void
name:String | Cookie name to remove/delete. |
path:Strong | Optional path to remove the cookie from. |
domain:Strong | Optional domain to restrict the cookie to. |
public static
function set(n:String, v:String, e:Date, p:String, d:String, s:String):void
n:String | Name of the cookie. |
v:String | Raw cookie data. |
e:Date | Optional date object for the expiration of the cookie. |
p:String | Optional path to restrict the cookie to. |
d:String | Optional domain to restrict the cookie to. |
s:String | Is the cookie secure or not. |
public static
function setHash(n:String, v:Object, e:Date, p:String, d:String, s:String):void
n:String | Name of the cookie. |
v:Object | Hashtable object to set as cookie. |
e:Date | Optional date object for the expiration of the cookie. |
p:String | Optional path to restrict the cookie to. |
d:String | Optional domain to restrict the cookie to. |
s:String | Is the cookie secure or not. |