Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git] / docs / source / Client.html
1 <!DOCTYPE html><html><head><title>Sencha Documentation Project</title><link rel="stylesheet" href="../reset.css" type="text/css"><link rel="stylesheet" href="../prettify.css" type="text/css"><link rel="stylesheet" href="../prettify_sa.css" type="text/css"><script type="text/javascript" src="../prettify.js"></script></head><body onload="prettyPrint()"><pre class="prettyprint"><pre><span id='Ext-data.proxy.Client'>/**
2 </span> * @author Ed Spencer
3  * @class Ext.data.proxy.Client
4  * @extends Ext.data.proxy.Proxy
5  * 
6  * &lt;p&gt;Base class for any client-side storage. Used as a superclass for {@link Ext.data.proxy.Memory Memory} and 
7  * {@link Ext.data.proxy.WebStorage Web Storage} proxies. Do not use directly, use one of the subclasses instead.&lt;/p&gt;
8  */
9 Ext.define('Ext.data.proxy.Client', {
10     extend: 'Ext.data.proxy.Proxy',
11     alternateClassName: 'Ext.data.ClientProxy',
12     
13 <span id='Ext-data.proxy.Client-method-clear'>    /**
14 </span>     * Abstract function that must be implemented by each ClientProxy subclass. This should purge all record data
15      * from the client side storage, as well as removing any supporting data (such as lists of record IDs)
16      */
17     clear: function() {
18         //&lt;debug&gt;
19         Ext.Error.raise(&quot;The Ext.data.proxy.Client subclass that you are using has not defined a 'clear' function. See src/data/ClientProxy.js for details.&quot;);
20         //&lt;/debug&gt;
21     }
22 });</pre></pre></body></html>