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; }
11 <script type="text/javascript">
12 function highlight() {
13 document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
17 <body onload="prettyPrint(); highlight();">
18 <pre class="prettyprint lang-js"><span id='Ext-data-proxy-Client'>/**
19 </span> * @author Ed Spencer
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.
25 Ext.define('Ext.data.proxy.Client', {
26 extend: 'Ext.data.proxy.Proxy',
27 alternateClassName: 'Ext.data.ClientProxy',
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)
35 Ext.Error.raise("The Ext.data.proxy.Client subclass that you are using has not defined a 'clear' function. See src/data/ClientProxy.js for details.");