/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. */
  25. Ext.define('Ext.data.proxy.Client', {
  26. extend: 'Ext.data.proxy.Proxy',
  27. alternateClassName: 'Ext.data.ClientProxy',
  28. <span id='Ext-data-proxy-Client-method-clear'> /**
  29. </span> * Abstract function that must be implemented by each ClientProxy subclass. This should purge all record data
  30. * from the client side storage, as well as removing any supporting data (such as lists of record IDs)
  31. */
  32. clear: function() {
  33. //&lt;debug&gt;
  34. 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;);
  35. //&lt;/debug&gt;
  36. }
  37. });</pre>
  38. </body>
  39. </html>