PageRenderTime 26ms CodeModel.GetById 18ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/ext-4.1.0_b3/docs/source/Client.html

https://bitbucket.org/srogerf/javascript
HTML | 40 lines | 39 code | 1 blank | 0 comment | 0 complexity | f9fb6e2012eb9ff0447b622820005458 MD5 | raw file
 1<!DOCTYPE html>
 2<html>
 3<head>
 4  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 5  <title>The source code</title>
 6  <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
 7  <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
 8  <style type="text/css">
 9    .highlight { display: block; background-color: #ddd; }
10  </style>
11  <script type="text/javascript">
12    function highlight() {
13      document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
14    }
15  </script>
16</head>
17<body onload="prettyPrint(); highlight();">
18  <pre class="prettyprint lang-js"><span id='Ext-data-proxy-Client'>/**
19</span> * @author Ed Spencer
20 *
21 * Base class for any client-side storage. Used as a superclass for {@link Ext.data.proxy.Memory Memory} and
22 * {@link Ext.data.proxy.WebStorage Web Storage} proxies. Do not use directly, use one of the subclasses instead.
23 * @private
24 */
25Ext.define('Ext.data.proxy.Client', {
26    extend: 'Ext.data.proxy.Proxy',
27    alternateClassName: 'Ext.data.ClientProxy',
28
29<span id='Ext-data-proxy-Client-method-clear'>    /**
30</span>     * Abstract function that must be implemented by each ClientProxy subclass. This should purge all record data
31     * from the client side storage, as well as removing any supporting data (such as lists of record IDs)
32     */
33    clear: function() {
34        //&lt;debug&gt;
35        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;);
36        //&lt;/debug&gt;
37    }
38});</pre>
39</body>
40</html>