d48624553f8c35b0070ce08745b4bb93424023d3.svn-base 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410
  1. <div class="body-wrap">
  2. <div class="top-tools">
  3. <a class="inner-link" href="#Ext.data.MemoryProxy-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>
  4. <a class="inner-link" href="#Ext.data.MemoryProxy-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>
  5. <a class="inner-link" href="#Ext.data.MemoryProxy-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>
  6. <a class="inner-link" href="#Ext.data.MemoryProxy-configs"><img src="../resources/images/default/s.gif" class="item-icon icon-config">Config Options</a>
  7. <a class="bookmark" href="../docs/?class=Ext.data.MemoryProxy"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a>
  8. </div>
  9. <div class="inheritance res-block">
  10. <pre class="res-block-inner"><a ext:cls="Ext.util.Observable" ext:member="" href="output/Ext.util.Observable.html">Observable</a>
  11. <img src="resources/elbow-end.gif"/><a ext:cls="Ext.data.DataProxy" ext:member="" href="output/Ext.data.DataProxy.html">DataProxy</a>
  12. <img src="resources/elbow-end.gif"/>MemoryProxy</pre></div>
  13. <h1>Class Ext.data.MemoryProxy</h1>
  14. <table cellspacing="0">
  15. <tr><td class="label">Package:</td><td class="hd-info">Ext.data</td></tr>
  16. <tr><td class="label">Defined In:</td><td class="hd-info"><a href="../src/MemoryProxy.js" target="_blank">MemoryProxy.js</a></td></tr>
  17. <tr><td class="label">Class:</td><td class="hd-info">MemoryProxy</td></tr>
  18. <tr><td class="label">Extends:</td><td class="hd-info"><a ext:cls="Ext.data.DataProxy" ext:member="" href="output/Ext.data.DataProxy.html">DataProxy</a></td></tr>
  19. </table>
  20. <div class="description">
  21. An implementation of Ext.data.DataProxy that simply passes the data specified in its constructor
  22. to the Reader when its load method is called. </div>
  23. <div class="hr"></div>
  24. <a id="Ext.data.MemoryProxy-configs"></a>
  25. <h2>Config Options</h2>
  26. <table cellspacing="0" class="member-table">
  27. <tr>
  28. <th class="sig-header" colspan="2">Config Options</th>
  29. <th class="msource-header">Defined By</th>
  30. </tr>
  31. <tr class="config-row inherited expandable">
  32. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  33. <td class="sig">
  34. <a id="Ext.data.MemoryProxy-listeners"></a>
  35. <b>listeners</b> : Object <div class="mdesc">
  36. <div class="short">A config object containing one or more event handlers to be added to this object during initialization. This should b...</div>
  37. <div class="long">
  38. A config object containing one or more event handlers to be added to this object during initialization. This should be a valid listeners config object as specified in the <a ext:cls="Ext.util.Observable" ext:member="addListener" href="output/Ext.util.Observable.html#addListener">addListener</a> example for attaching multiple handlers at once. </div>
  39. </div>
  40. </td>
  41. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#listeners" href="output/Ext.util.Observable.html#listeners">Observable</a></td>
  42. </tr>
  43. </table>
  44. <a id="Ext.data.MemoryProxy-props"></a>
  45. <h2>Public Properties</h2>
  46. <div class="no-members">This class has no public properties.</div> <a id="Ext.data.MemoryProxy-methods"></a>
  47. <h2>Public Methods</h2>
  48. <table cellspacing="0" class="member-table">
  49. <tr>
  50. <th class="sig-header" colspan="2">Method</th>
  51. <th class="msource-header">Defined By</th>
  52. </tr>
  53. <tr class="method-row expandable">
  54. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  55. <td class="sig">
  56. <a id="Ext.data.MemoryProxy-MemoryProxy"></a>
  57. <b>MemoryProxy</b>(&nbsp;<code>Object data</code>&nbsp;) <div class="mdesc">
  58. <div class="short"></div>
  59. <div class="long">
  60. <div class="mdetail-params">
  61. <strong>Parameters:</strong>
  62. <ul><li><code>data</code> : Object<div class="sub-desc">The data object which the Reader uses to construct a block of Ext.data.Records.</div></li> </ul>
  63. <strong>Returns:</strong>
  64. <ul>
  65. <li><code></code></li>
  66. </ul>
  67. </div>
  68. </div>
  69. </div>
  70. </td>
  71. <td class="msource">MemoryProxy</td>
  72. </tr>
  73. <tr class="method-row inherited alt expandable">
  74. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  75. <td class="sig">
  76. <a id="Ext.data.MemoryProxy-addEvents"></a>
  77. <b>addEvents</b>(&nbsp;<code>Object object</code>&nbsp;) : void <div class="mdesc">
  78. <div class="short">Used to define events on this Observable</div>
  79. <div class="long">
  80. Used to define events on this Observable <div class="mdetail-params">
  81. <strong>Parameters:</strong>
  82. <ul><li><code>object</code> : Object<div class="sub-desc">The object with the events defined</div></li> </ul>
  83. <strong>Returns:</strong>
  84. <ul>
  85. <li><code>void</code></li>
  86. </ul>
  87. </div>
  88. </div>
  89. </div>
  90. </td>
  91. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addEvents" href="output/Ext.util.Observable.html#addEvents">Observable</a></td>
  92. </tr>
  93. <tr class="method-row inherited expandable">
  94. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  95. <td class="sig">
  96. <a id="Ext.data.MemoryProxy-addListener"></a>
  97. <b>addListener</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Object options</code>]</span>&nbsp;) : void <div class="mdesc">
  98. <div class="short">Appends an event handler to this component</div>
  99. <div class="long">
  100. Appends an event handler to this component <div class="mdetail-params">
  101. <strong>Parameters:</strong>
  102. <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The method the event invokes</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope in which to execute the handler
  103. function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional) An object containing handler configuration
  104. properties. This may contain any of the following properties:<ul>
  105. <li><b>scope</b> : Object<p class="sub-desc">The scope in which to execute the handler function. The handler function's "this" context.</p></li>
  106. <li><b>delay</b> : Number<p class="sub-desc">The number of milliseconds to delay the invocation of the handler after the event fires.</p></li>
  107. <li><b>single</b> : Boolean<p class="sub-desc">True to add a handler to handle just the next firing of the event, and then remove itself.</p></li>
  108. <li>buffer {Number} Causes the handler to be scheduled to run in an <a ext:cls="Ext.util.DelayedTask" href="output/Ext.util.DelayedTask.html">Ext.util.DelayedTask</a> delayed
  109. by the specified number of milliseconds. If the event fires again within that time, the original
  110. handler is <em>not</em> invoked, but the new handler is scheduled in its place.</li>
  111. </ul><br>
  112. <p>
  113. <b>Combining Options</b><br>
  114. Using the options argument, it is possible to combine different types of listeners:<br>
  115. <br>
  116. A normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)
  117. <pre><code>el.on(<em>'click'</em>, <b>this</b>.onClick, <b>this</b>, {
  118. single: true,
  119. delay: 100,
  120. forumId: 4
  121. });</code></pre>
  122. <p>
  123. <b>Attaching multiple handlers in 1 call</b><br>
  124. The method also allows for a single argument to be passed which is a config object containing properties
  125. which specify multiple handlers.
  126. <p>
  127. <pre><code>foo.on({
  128. <em>'click'</em> : {
  129. fn: <b>this</b>.onClick,
  130. scope: <b>this</b>,
  131. delay: 100
  132. },
  133. <em>'mouseover'</em> : {
  134. fn: <b>this</b>.onMouseOver,
  135. scope: <b>this</b>
  136. },
  137. <em>'mouseout'</em> : {
  138. fn: <b>this</b>.onMouseOut,
  139. scope: <b>this</b>
  140. }
  141. });</code></pre>
  142. <p>
  143. Or a shorthand syntax:<br>
  144. <pre><code>foo.on({
  145. <em>'click'</em> : <b>this</b>.onClick,
  146. <em>'mouseover'</em> : <b>this</b>.onMouseOver,
  147. <em>'mouseout'</em> : <b>this</b>.onMouseOut,
  148. scope: <b>this</b>
  149. });</code></pre></div></li> </ul>
  150. <strong>Returns:</strong>
  151. <ul>
  152. <li><code>void</code></li>
  153. </ul>
  154. </div>
  155. </div>
  156. </div>
  157. </td>
  158. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addListener" href="output/Ext.util.Observable.html#addListener">Observable</a></td>
  159. </tr>
  160. <tr class="method-row inherited alt expandable">
  161. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  162. <td class="sig">
  163. <a id="Ext.data.MemoryProxy-fireEvent"></a>
  164. <b>fireEvent</b>(&nbsp;<code>String eventName</code>, <code>Object... args</code>&nbsp;) : Boolean <div class="mdesc">
  165. <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
  166. <div class="long">
  167. Fires the specified event with the passed parameters (minus the event name). <div class="mdetail-params">
  168. <strong>Parameters:</strong>
  169. <ul><li><code>eventName</code> : String<div class="sub-desc"></div></li><li><code>args</code> : Object...<div class="sub-desc">Variable number of parameters are passed to handlers</div></li> </ul>
  170. <strong>Returns:</strong>
  171. <ul>
  172. <li><code>Boolean</code><div class="sub-desc">returns false if any of the handlers return false otherwise it returns true</div></li>
  173. </ul>
  174. </div>
  175. </div>
  176. </div>
  177. </td>
  178. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#fireEvent" href="output/Ext.util.Observable.html#fireEvent">Observable</a></td>
  179. </tr>
  180. <tr class="method-row inherited expandable">
  181. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  182. <td class="sig">
  183. <a id="Ext.data.MemoryProxy-hasListener"></a>
  184. <b>hasListener</b>(&nbsp;<code>String eventName</code>&nbsp;) : Boolean <div class="mdesc">
  185. <div class="short">Checks to see if this object has any listeners for a specified event</div>
  186. <div class="long">
  187. Checks to see if this object has any listeners for a specified event <div class="mdetail-params">
  188. <strong>Parameters:</strong>
  189. <ul><li><code>eventName</code> : String<div class="sub-desc">The name of the event to check for</div></li> </ul>
  190. <strong>Returns:</strong>
  191. <ul>
  192. <li><code>Boolean</code><div class="sub-desc">True if the event is being listened for, else false</div></li>
  193. </ul>
  194. </div>
  195. </div>
  196. </div>
  197. </td>
  198. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#hasListener" href="output/Ext.util.Observable.html#hasListener">Observable</a></td>
  199. </tr>
  200. <tr class="method-row alt expandable">
  201. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  202. <td class="sig">
  203. <a id="Ext.data.MemoryProxy-load"></a>
  204. <b>load</b>(&nbsp;<code>Object params</code>, <code>Ext.data.DataReader) reader</code>, <code>Function callback</code>, <code>Object scope</code>, <code>Object arg</code>&nbsp;) : void <div class="mdesc">
  205. <div class="short">Load data from the requested source (in this case an in-memory
  206. data object passed to the constructor), read the data ...</div>
  207. <div class="long">
  208. Load data from the requested source (in this case an in-memory
  209. data object passed to the constructor), read the data object into
  210. a block of Ext.data.Records using the passed Ext.data.DataReader implementation, and
  211. process that block using the passed callback. <div class="mdetail-params">
  212. <strong>Parameters:</strong>
  213. <ul><li><code>params</code> : Object<div class="sub-desc">This parameter is not used by the MemoryProxy class.</div></li><li><code>reader</code> : Ext.data.DataReader)<div class="sub-desc">The Reader object which converts the data
  214. object into a block of Ext.data.Records.</div></li><li><code>callback</code> : Function<div class="sub-desc">The function into which to pass the block of Ext.data.records.
  215. The function must be passed <ul>
  216. <li>The Record block object</li>
  217. <li>The "arg" argument from the load function</li>
  218. <li>A boolean success indicator</li>
  219. </ul></div></li><li><code>scope</code> : Object<div class="sub-desc">The scope in which to call the callback</div></li><li><code>arg</code> : Object<div class="sub-desc">An optional argument which is passed to the callback as its second parameter.</div></li> </ul>
  220. <strong>Returns:</strong>
  221. <ul>
  222. <li><code>void</code></li>
  223. </ul>
  224. </div>
  225. </div>
  226. </div>
  227. </td>
  228. <td class="msource">MemoryProxy</td>
  229. </tr>
  230. <tr class="method-row inherited expandable">
  231. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  232. <td class="sig">
  233. <a id="Ext.data.MemoryProxy-on"></a>
  234. <b>on</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Object options</code>]</span>&nbsp;) : void <div class="mdesc">
  235. <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
  236. <div class="long">
  237. Appends an event handler to this element (shorthand for addListener) <div class="mdetail-params">
  238. <strong>Parameters:</strong>
  239. <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The method the event invokes</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope in which to execute the handler
  240. function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional)</div></li> </ul>
  241. <strong>Returns:</strong>
  242. <ul>
  243. <li><code>void</code></li>
  244. </ul>
  245. </div>
  246. </div>
  247. </div>
  248. </td>
  249. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#on" href="output/Ext.util.Observable.html#on">Observable</a></td>
  250. </tr>
  251. <tr class="method-row inherited alt expandable">
  252. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  253. <td class="sig">
  254. <a id="Ext.data.MemoryProxy-purgeListeners"></a>
  255. <b>purgeListeners</b>() : void <div class="mdesc">
  256. <div class="short">Removes all listeners for this object</div>
  257. <div class="long">
  258. Removes all listeners for this object <div class="mdetail-params">
  259. <strong>Parameters:</strong>
  260. <ul><li>None.</li> </ul>
  261. <strong>Returns:</strong>
  262. <ul>
  263. <li><code>void</code></li>
  264. </ul>
  265. </div>
  266. </div>
  267. </div>
  268. </td>
  269. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#purgeListeners" href="output/Ext.util.Observable.html#purgeListeners">Observable</a></td>
  270. </tr>
  271. <tr class="method-row inherited expandable">
  272. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  273. <td class="sig">
  274. <a id="Ext.data.MemoryProxy-removeListener"></a>
  275. <b>removeListener</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : void <div class="mdesc">
  276. <div class="short">Removes a listener</div>
  277. <div class="long">
  278. Removes a listener <div class="mdetail-params">
  279. <strong>Parameters:</strong>
  280. <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The handler to remove</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (this object) for the handler</div></li> </ul>
  281. <strong>Returns:</strong>
  282. <ul>
  283. <li><code>void</code></li>
  284. </ul>
  285. </div>
  286. </div>
  287. </div>
  288. </td>
  289. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#removeListener" href="output/Ext.util.Observable.html#removeListener">Observable</a></td>
  290. </tr>
  291. <tr class="method-row inherited alt expandable">
  292. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  293. <td class="sig">
  294. <a id="Ext.data.MemoryProxy-resumeEvents"></a>
  295. <b>resumeEvents</b>() : void <div class="mdesc">
  296. <div class="short">Resume firing events. (see <a ext:cls="Ext.util.Observable" ext:member="suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">suspendEvents</a>)</div>
  297. <div class="long">
  298. Resume firing events. (see <a ext:cls="Ext.util.Observable" ext:member="suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">suspendEvents</a>) <div class="mdetail-params">
  299. <strong>Parameters:</strong>
  300. <ul><li>None.</li> </ul>
  301. <strong>Returns:</strong>
  302. <ul>
  303. <li><code>void</code></li>
  304. </ul>
  305. </div>
  306. </div>
  307. </div>
  308. </td>
  309. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">Observable</a></td>
  310. </tr>
  311. <tr class="method-row inherited expandable">
  312. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  313. <td class="sig">
  314. <a id="Ext.data.MemoryProxy-suspendEvents"></a>
  315. <b>suspendEvents</b>() : void <div class="mdesc">
  316. <div class="short">Suspend the firing of all events. (see <a ext:cls="Ext.util.Observable" ext:member="resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">resumeEvents</a>)</div>
  317. <div class="long">
  318. Suspend the firing of all events. (see <a ext:cls="Ext.util.Observable" ext:member="resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">resumeEvents</a>) <div class="mdetail-params">
  319. <strong>Parameters:</strong>
  320. <ul><li>None.</li> </ul>
  321. <strong>Returns:</strong>
  322. <ul>
  323. <li><code>void</code></li>
  324. </ul>
  325. </div>
  326. </div>
  327. </div>
  328. </td>
  329. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">Observable</a></td>
  330. </tr>
  331. <tr class="method-row inherited alt expandable">
  332. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  333. <td class="sig">
  334. <a id="Ext.data.MemoryProxy-un"></a>
  335. <b>un</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : void <div class="mdesc">
  336. <div class="short">Removes a listener (shorthand for removeListener)</div>
  337. <div class="long">
  338. Removes a listener (shorthand for removeListener) <div class="mdetail-params">
  339. <strong>Parameters:</strong>
  340. <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The handler to remove</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (this object) for the handler</div></li> </ul>
  341. <strong>Returns:</strong>
  342. <ul>
  343. <li><code>void</code></li>
  344. </ul>
  345. </div>
  346. </div>
  347. </div>
  348. </td>
  349. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#un" href="output/Ext.util.Observable.html#un">Observable</a></td>
  350. </tr>
  351. </table>
  352. <a id="Ext.data.MemoryProxy-events"></a>
  353. <h2>Public Events</h2>
  354. <table cellspacing="0" class="member-table">
  355. <tr>
  356. <th class="sig-header" colspan="2">Event</th>
  357. <th class="msource-header">Defined By</th>
  358. </tr>
  359. <tr class="event-row inherited expandable">
  360. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  361. <td class="sig">
  362. <a id="Ext.data.MemoryProxy-beforeload"></a>
  363. <b>beforeload</b> : (&nbsp;<code>Object This</code>, <code>Object params</code>&nbsp;) <div class="mdesc">
  364. <div class="short">Fires before a network request is made to retrieve a data object.</div>
  365. <div class="long">
  366. Fires before a network request is made to retrieve a data object. <div class="mdetail-params">
  367. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  368. <ul><li><code>This</code> : Object<div class="sub-desc">DataProxy object.</div></li><li><code>params</code> : Object<div class="sub-desc">The params parameter to the load function.</div></li> </ul>
  369. </div>
  370. </div>
  371. </div>
  372. </td>
  373. <td class="msource"><a ext:cls="Ext.data.DataProxy" ext:member="#event-beforeload" href="output/Ext.data.DataProxy.html#event-beforeload">DataProxy</a></td>
  374. </tr>
  375. <tr class="event-row inherited alt expandable">
  376. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  377. <td class="sig">
  378. <a id="Ext.data.MemoryProxy-load"></a>
  379. <b>load</b> : (&nbsp;<code>Object This</code>, <code>Object o</code>, <code>Object arg</code>&nbsp;) <div class="mdesc">
  380. <div class="short">Fires before the load method's callback is called.</div>
  381. <div class="long">
  382. Fires before the load method's callback is called. <div class="mdetail-params">
  383. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  384. <ul><li><code>This</code> : Object<div class="sub-desc">DataProxy object.</div></li><li><code>o</code> : Object<div class="sub-desc">The data object.</div></li><li><code>arg</code> : Object<div class="sub-desc">The callback argument object passed to the load function.</div></li> </ul>
  385. </div>
  386. </div>
  387. </div>
  388. </td>
  389. <td class="msource"><a ext:cls="Ext.data.DataProxy" ext:member="#event-load" href="output/Ext.data.DataProxy.html#event-load">DataProxy</a></td>
  390. </tr>
  391. <tr class="event-row inherited expandable">
  392. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  393. <td class="sig">
  394. <a id="Ext.data.MemoryProxy-loadexception"></a>
  395. <b>loadexception</b> : (&nbsp;<code>Object This</code>, <code>Object o</code>, <code>Object arg</code>, <code>Object e</code>&nbsp;) <div class="mdesc">
  396. <div class="short">Fires if an Exception occurs during data retrieval.</div>
  397. <div class="long">
  398. Fires if an Exception occurs during data retrieval. <div class="mdetail-params">
  399. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  400. <ul><li><code>This</code> : Object<div class="sub-desc">DataProxy object.</div></li><li><code>o</code> : Object<div class="sub-desc">The data object.</div></li><li><code>arg</code> : Object<div class="sub-desc">The callback argument object passed to the load function.</div></li><li><code>e</code> : Object<div class="sub-desc">The Exception.</div></li> </ul>
  401. </div>
  402. </div>
  403. </div>
  404. </td>
  405. <td class="msource"><a ext:cls="Ext.data.DataProxy" ext:member="#event-loadexception" href="output/Ext.data.DataProxy.html#event-loadexception">DataProxy</a></td>
  406. </tr>
  407. </table>
  408. </div>