Upgrade to ExtJS 3.0.0 - Released 07/06/2009
[extjs.git] / docs / source / SessionProvider.html
diff --git a/docs/source/SessionProvider.html b/docs/source/SessionProvider.html
new file mode 100644 (file)
index 0000000..042ec41
--- /dev/null
@@ -0,0 +1,21 @@
+<html>\r
+<head>\r
+  <title>The source code</title>\r
+    <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />\r
+    <script type="text/javascript" src="../resources/prettify/prettify.js"></script>\r
+</head>\r
+<body  onload="prettyPrint();">\r
+    <pre class="prettyprint lang-js">Ext.state.SessionProvider = Ext.extend(Ext.state.CookieProvider, {\r
+    readCookies : function(){\r
+        if(this.state){\r
+            for(var k in this.state){\r
+                if(typeof this.state[k] == 'string'){\r
+                    this.state[k] = this.decodeValue(this.state[k]);\r
+                }\r
+            }\r
+        }\r
+        return Ext.apply(this.state || {}, Ext.state.SessionProvider.superclass.readCookies.call(this));\r
+    }\r
+});</pre>    \r
+</body>\r
+</html>
\ No newline at end of file