X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..6b044c28b5f26fb99c86c237ffad19741c0f7f3d:/docs/output/Ext.state.CookieProvider.html
diff --git a/docs/output/Ext.state.CookieProvider.html b/docs/output/Ext.state.CookieProvider.html
index 15c32800..80cb4ebb 100644
--- a/docs/output/Ext.state.CookieProvider.html
+++ b/docs/output/Ext.state.CookieProvider.html
@@ -1,25 +1,32 @@
-
The default Provider implementation which saves state via cookies.
-
Usage:
-
var cp = new Ext.state.CookieProvider({
- path: "/cgi-bin/",
- expires: new Date(new Date().getTime()+(1000*60*60*24*30)), //30 days
- domain: "extjs.com"
- });
- Ext.state.Manager.setProvider(cp);
Config Options
|
| domain : StringThe domain to save the cookie for. Note that you cannot specify a different domain than
-your page is on, but you ca... The domain to save the cookie for. Note that you cannot specify a different domain than
-your page is on, but you can specify a sub-domain, or simply the domain itself like 'extjs.com' to include
-all sub-domains if you need to access cookies across different sub-domains (defaults to null which uses the same
-domain the page is running on including the 'www' like 'www.extjs.com') | CookieProvider |
| expires : Date The cookie expiration date (defaults to 7 days from now) | CookieProvider |
| path : String The path for which the cookie is active (defaults to root '/' which makes it active for all pages in the site) | CookieProvider |
| secure : Boolean True if the site is using SSL (defaults to false) | CookieProvider |
Public Properties
This class has no public properties.
Public Methods
|
| CookieProvider( Object config )
- Create a new CookieProvider Create a new CookieProvider Parameters:config : ObjectThe configuration object Returns: | CookieProvider |
| clear( String name )
+The default Provider implementation which saves state via cookies.
+ Usage:
+ var cp = new Ext.state.CookieProvider({
+ path: "/cgi-bin/",
+ expires: new Date(new Date().getTime()+(1000*60*60*24*30)), //30 days
+ domain: "extjs.com"
+ });
+ Ext.state.Manager.setProvider(cp);
Config Options|
| domain : StringThe domain to save the cookie for. Note that you cannot specify a different domain than
+your page is on, but you can... The domain to save the cookie for. Note that you cannot specify a different domain than
+your page is on, but you can specify a sub-domain, or simply the domain itself like 'extjs.com' to include
+all sub-domains if you need to access cookies across different sub-domains (defaults to null which uses the same
+domain the page is running on including the 'www' like 'www.extjs.com') | CookieProvider | | expires : Date The cookie expiration date (defaults to 7 days from now) | CookieProvider | | path : String The path for which the cookie is active (defaults to root '/' which makes it active for all pages in the site) | CookieProvider | | secure : Boolean True if the site is using SSL (defaults to false) | CookieProvider |
Public Properties|
| var : Object a -> Array
+n -> Number
+d -> Date
+b -> Boolean
+s -> String
+o -> Object
+-> Empty (null) | Provider |
Public Methods|
| CookieProvider( Object config )
+ Create a new CookieProvider Create a new CookieProvider Parameters:config : ObjectThe configuration object Returns: | CookieProvider | | clear( String name )
:
- voidClears a value from the state Clears a value from the state Parameters:name : StringThe key name Returns: | Provider | | decodeValue( String value )
+ voidClears a value from the state Clears a value from the state Parameters:name : StringThe key name Returns: | Provider | | decodeValue( String value )
:
- MixedDecodes a string previously encoded with encodeValue. Decodes a string previously encoded with encodeValue. Parameters:value : StringThe value to decode Returns: | Provider | | encodeValue( Mixed value )
+ MixedDecodes a string previously encoded with encodeValue. Decodes a string previously encoded with encodeValue. Parameters:value : StringThe value to decode Returns: | Provider | | encodeValue( Mixed value )
:
- StringEncodes a value including type information. Decode with decodeValue. Encodes a value including type information. Decode with decodeValue. Parameters:value : MixedThe value to encode Returns: | Provider | | get( String name , Mixed defaultValue )
+ StringEncodes a value including type information. Decode with decodeValue. Encodes a value including type information. Decode with decodeValue. Parameters:value : MixedThe value to encode Returns: | Provider | | get( String name , Mixed defaultValue )
:
- MixedReturns the current value for a key Returns the current value for a key | Provider | | set( String name , Mixed value )
+ MixedReturns the current value for a key Returns the current value for a key | Provider | | set( String name , Mixed value )
:
- voidSets the value for a key Sets the value for a key Parameters:name : StringThe key name value : MixedThe value to set Returns: | Provider |
Public Events|
| statechange :
+ voidSets the value for a key Sets the value for a key Parameters:name : StringThe key name value : MixedThe value to set Returns: | Provider |
Public Events|
| statechange :
( Provider this , String key , String value )
Fires when a state change occurs. Fires when a state change occurs. Listeners will be called with the following arguments: | Provider |
\ No newline at end of file
|