Upgrade to ExtJS 3.0.0 - Released 07/06/2009
[extjs.git] / docs / source / SessionProvider.html
1 <html>\r
2 <head>\r
3   <title>The source code</title>\r
4     <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />\r
5     <script type="text/javascript" src="../resources/prettify/prettify.js"></script>\r
6 </head>\r
7 <body  onload="prettyPrint();">\r
8     <pre class="prettyprint lang-js">Ext.state.SessionProvider = Ext.extend(Ext.state.CookieProvider, {\r
9     readCookies : function(){\r
10         if(this.state){\r
11             for(var k in this.state){\r
12                 if(typeof this.state[k] == 'string'){\r
13                     this.state[k] = this.decodeValue(this.state[k]);\r
14                 }\r
15             }\r
16         }\r
17         return Ext.apply(this.state || {}, Ext.state.SessionProvider.superclass.readCookies.call(this));\r
18     }\r
19 });</pre>    \r
20 </body>\r
21 </html>