1 Ext.data.JsonP.Ext_data_proxy_Proxy({
3 "name": "Ext.data.proxy.Proxy",
4 "doc": "<p>Proxies are used by <a href=\"#/api/Ext.data.Store\" rel=\"Ext.data.Store\" class=\"docClass\">Stores</a> to handle the loading and saving of <a href=\"#/api/Ext.data.Model\" rel=\"Ext.data.Model\" class=\"docClass\">Model</a> data.\nUsually developers will not need to create or interact with proxies directly.</p>\n\n\n<p><u>Types of Proxy</u></p>\n\n\n\n\n<p>There are two main types of Proxy - <a href=\"#/api/Ext.data.proxy.Client\" rel=\"Ext.data.proxy.Client\" class=\"docClass\">Client</a> and <a href=\"#/api/Ext.data.proxy.Server\" rel=\"Ext.data.proxy.Server\" class=\"docClass\">Server</a>. The Client proxies\nsave their data locally and include the following subclasses:</p>\n\n\n\n\n<ul style=\"list-style-type: disc; padding-left: 25px\">\n<li><a href=\"#/api/Ext.data.proxy.LocalStorage\" rel=\"Ext.data.proxy.LocalStorage\" class=\"docClass\">LocalStorageProxy</a> - saves its data to localStorage if the browser supports it</li>\n<li><a href=\"#/api/Ext.data.proxy.SessionStorage\" rel=\"Ext.data.proxy.SessionStorage\" class=\"docClass\">SessionStorageProxy</a> - saves its data to sessionStorage if the browsers supports it</li>\n<li><a href=\"#/api/Ext.data.proxy.Memory\" rel=\"Ext.data.proxy.Memory\" class=\"docClass\">MemoryProxy</a> - holds data in memory only, any data is lost when the page is refreshed</li>\n</ul>\n\n\n\n\n<p>The Server proxies save their data by sending requests to some remote server. These proxies include:</p>\n\n\n\n\n<ul style=\"list-style-type: disc; padding-left: 25px\">\n<li><a href=\"#/api/Ext.data.proxy.Ajax\" rel=\"Ext.data.proxy.Ajax\" class=\"docClass\">Ajax</a> - sends requests to a server on the same domain</li>\n<li><a href=\"#/api/Ext.data.proxy.JsonP\" rel=\"Ext.data.proxy.JsonP\" class=\"docClass\">JsonP</a> - uses JSON-P to send requests to a server on a different domain</li>\n<li><a href=\"#/api/Ext.data.proxy.Direct\" rel=\"Ext.data.proxy.Direct\" class=\"docClass\">Direct</a> - uses <a href=\"#/api/Ext.direct\" rel=\"Ext.direct\" class=\"docClass\">Ext.direct</a> to send requests</li>\n</ul>\n\n\n\n\n<p>Proxies operate on the principle that all operations performed are either Create, Read, Update or Delete. These four operations \nare mapped to the methods <a href=\"#/api/Ext.data.proxy.Proxy-method-create\" rel=\"Ext.data.proxy.Proxy-method-create\" class=\"docClass\">create</a>, <a href=\"#/api/Ext.data.proxy.Proxy-method-read\" rel=\"Ext.data.proxy.Proxy-method-read\" class=\"docClass\">read</a>, <a href=\"#/api/Ext.data.proxy.Proxy-method-update\" rel=\"Ext.data.proxy.Proxy-method-update\" class=\"docClass\">update</a> and <a href=\"#/api/Ext.data.proxy.Proxy-method-destroy\" rel=\"Ext.data.proxy.Proxy-method-destroy\" class=\"docClass\">destroy</a> respectively. Each Proxy subclass \nimplements these functions.</p>\n\n\n\n\n<p>The CRUD methods each expect an <a href=\"#/api/Ext.data.Operation\" rel=\"Ext.data.Operation\" class=\"docClass\">Operation</a> object as the sole argument. The Operation encapsulates \ninformation about the action the Store wishes to perform, the <a href=\"#/api/Ext.data.Model\" rel=\"Ext.data.Model\" class=\"docClass\">model</a> instances that are to be modified, etc.\nSee the <a href=\"#/api/Ext.data.Operation\" rel=\"Ext.data.Operation\" class=\"docClass\">Operation</a> documentation for more details. Each CRUD method also accepts a callback function to be \ncalled asynchronously on completion.</p>\n\n\n\n\n<p>Proxies also support batching of Operations via a <a href=\"#/api/Ext.data.Batch\" rel=\"Ext.data.Batch\" class=\"docClass\">batch</a> object, invoked by the <a href=\"#/api/Ext.data.proxy.Proxy-method-batch\" rel=\"Ext.data.proxy.Proxy-method-batch\" class=\"docClass\">batch</a> method.</p>\n\n",
9 "alternateClassNames": [
14 "author": "Ed Spencer",
21 "name": "batchActions",
22 "member": "Ext.data.proxy.Proxy",
24 "doc": "<p>True to batch actions of a particular type when synchronizing the store.\nDefaults to <tt>true</tt>.</p>\n",
26 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Proxy.js",
28 "html_filename": "Proxy2.html",
29 "href": "Proxy2.html#Ext-data-proxy-Proxy-cfg-batchActions"
34 "member": "Ext.data.proxy.Proxy",
36 "doc": "<p>Comma-separated ordering 'create', 'update' and 'destroy' actions when batching. Override this\nto set a different order for the batched CRUD actions to be executed in. Defaults to 'create,update,destroy'</p>\n",
38 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Proxy.js",
40 "html_filename": "Proxy2.html",
41 "href": "Proxy2.html#Ext-data-proxy-Proxy-cfg-batchOrder",
42 "shortDoc": "Comma-separated ordering 'create', 'update' and 'destroy' actions when batching. Override this\nto set a different ord..."
47 "member": "Ext.util.Observable",
49 "doc": "<p>(optional) <p>A config object containing one or more event handlers to be added to this\nobject during initialization. This should be a valid listeners config object as specified in the\n<a href=\"#/api/Ext.data.proxy.Proxy-method-addListener\" rel=\"Ext.data.proxy.Proxy-method-addListener\" class=\"docClass\">addListener</a> example for attaching multiple handlers at once.</p></p>\n\n<br><p><b><u>DOM events from ExtJs <a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Components</a></u></b></p>\n\n\n<br><p>While <i>some</i> ExtJs Component classes export selected DOM events (e.g. \"click\", \"mouseover\" etc), this\n\n\n<p>is usually only done when extra value can be added. For example the <a href=\"#/api/Ext.view.View\" rel=\"Ext.view.View\" class=\"docClass\">DataView</a>'s\n<b><code><a href=\"#/api/Ext.view.View--click\" rel=\"Ext.view.View--click\" class=\"docClass\">click</a></code></b> event passing the node clicked on. To access DOM\nevents directly from a child element of a Component, we need to specify the <code>element</code> option to\nidentify the Component property to add a DOM listener to:</p>\n\n<pre><code>new Ext.panel.Panel({\n width: 400,\n height: 200,\n dockedItems: [{\n xtype: 'toolbar'\n }],\n listeners: {\n click: {\n element: 'el', //bind to the underlying el property on the panel\n fn: function(){ console.log('click el'); }\n },\n dblclick: {\n element: 'body', //bind to the underlying body property on the panel\n fn: function(){ console.log('dblclick body'); }\n }\n }\n});\n</code></pre>\n\n\n<p></p></p>\n",
51 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
53 "html_filename": "Observable.html",
54 "href": "Observable.html#Ext-util-Observable-cfg-listeners",
55 "shortDoc": "(optional) A config object containing one or more event handlers to be added to this\nobject during initialization. T..."
60 "member": "Ext.data.proxy.Proxy",
61 "type": "String/Ext.data.Model",
62 "doc": "<p>The name of the Model to tie to this Proxy. Can be either the string name of\nthe Model, or a reference to the Model constructor. Required.</p>\n",
64 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Proxy.js",
66 "html_filename": "Proxy2.html",
67 "href": "Proxy2.html#Ext-data-proxy-Proxy-cfg-model",
68 "shortDoc": "The name of the Model to tie to this Proxy. Can be either the string name of\nthe Model, or a reference to the Model c..."
75 "member": "Ext.data.proxy.Proxy",
76 "doc": "<p>Creates the Proxy</p>\n",
81 "doc": "<p>Optional config object</p>\n",
91 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Proxy.js",
93 "html_filename": "Proxy2.html",
94 "href": "Proxy2.html#Ext-data-proxy-Proxy-method-constructor",
95 "shortDoc": "<p>Creates the Proxy</p>\n"
100 "member": "Ext.util.Observable",
101 "doc": "<p>Adds the specified events to the list of events which this Observable may fire.</p>\n",
104 "type": "Object/String",
106 "doc": "<p>Either an object with event names as properties with a value of <code>true</code>\nor the first event name string if multiple event names are being passed as separate parameters.</p>\n",
112 "doc": "<p>[additional] Optional additional event names if multiple event names are being passed as separate parameters.\nUsage:</p>\n\n<pre><code>this.addEvents('storeloaded', 'storecleared');\n</code></pre>\n\n",
122 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
124 "html_filename": "Observable.html",
125 "href": "Observable.html#Ext-util-Observable-method-addEvents",
126 "shortDoc": "<p>Adds the specified events to the list of events which this Observable may fire.</p>\n"
130 "name": "addListener",
131 "member": "Ext.util.Observable",
132 "doc": "<p>Appends an event handler to this object.</p>\n",
137 "doc": "<p>The name of the event to listen for. May also be an object who's property names are event names. See</p>\n",
143 "doc": "<p>The method the event invokes.</p>\n",
149 "doc": "<p>(optional) The scope (<code><b>this</b></code> reference) in which the handler function is executed.\n<b>If omitted, defaults to the object which fired the event.</b></p>\n",
155 "doc": "<p>(optional) An object containing handler configuration.\nproperties. This may contain any of the following properties:<ul>\n<li><b>scope</b> : Object<div class=\"sub-desc\">The scope (<code><b>this</b></code> reference) in which the handler function is executed.\n<b>If omitted, defaults to the object which fired the event.</b></div></li>\n<li><b>delay</b> : Number<div class=\"sub-desc\">The number of milliseconds to delay the invocation of the handler after the event fires.</div></li>\n<li><b>single</b> : Boolean<div class=\"sub-desc\">True to add a handler to handle just the next firing of the event, and then remove itself.</div></li>\n<li><b>buffer</b> : Number<div class=\"sub-desc\">Causes the handler to be scheduled to run in an <a href=\"#/api/Ext.util.DelayedTask\" rel=\"Ext.util.DelayedTask\" class=\"docClass\">Ext.util.DelayedTask</a> delayed\nby the specified number of milliseconds. If the event fires again within that time, the original\nhandler is <em>not</em> invoked, but the new handler is scheduled in its place.</div></li>\n<li><b>target</b> : Observable<div class=\"sub-desc\">Only call the handler if the event was fired on the target Observable, <i>not</i>\nif the event was bubbled up from a child Observable.</div></li>\n<li><b>element</b> : String<div class=\"sub-desc\"><b>This option is only valid for listeners bound to <a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Components</a>.</b>\nThe name of a Component property which references an element to add a listener to.</p>\n\n<p>This option is useful during Component construction to add DOM event listeners to elements of <a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Components</a> which\nwill exist only after the Component is rendered. For example, to add a click listener to a Panel's body:\n<pre><code>new Ext.panel.Panel({\n title: 'The title',\n listeners: {\n click: this.handlePanelClick,\n element: 'body'\n }\n});\n</code></pre></p>\n\n\n<p>When added in this way, the options available are the options applicable to <a href=\"#/api/Ext.core.Element-method-addListener\" rel=\"Ext.core.Element-method-addListener\" class=\"docClass\">Ext.core.Element.addListener</a></p>\n\n\n<p></div></li>\n</ul><br></p>\n\n<p>\n<b>Combining Options</b><br>\nUsing the options argument, it is possible to combine different types of listeners:<br>\n<br>\nA delayed, one-time listener.\n<pre><code>myPanel.on('hide', this.handleClick, this, {\nsingle: true,\ndelay: 100\n});</code></pre>\n<p>\n<b>Attaching multiple handlers in 1 call</b><br>\nThe method also allows for a single argument to be passed which is a config object containing properties\nwhich specify multiple events. For example:\n<pre><code>myGridPanel.on({\n cellClick: this.onCellClick,\n mouseover: this.onMouseOver,\n mouseout: this.onMouseOut,\n scope: this // Important. Ensure \"this\" is correct during handler execution\n});\n</code></pre>.\n<p>\n\n",
165 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
167 "html_filename": "Observable.html",
168 "href": "Observable.html#Ext-util-Observable-method-addListener",
169 "shortDoc": "<p>Appends an event handler to this object.</p>\n"
173 "name": "addManagedListener",
174 "member": "Ext.util.Observable",
175 "doc": "<p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component\nis destroyed.\n\n",
178 "type": "Observable/Element",
180 "doc": "<p>The item to which to add a listener/listeners.</p>\n",
184 "type": "Object/String",
186 "doc": "<p>The event name, or an object containing event name properties.</p>\n",
192 "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this\nis the handler function.</p>\n",
198 "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this\nis the scope (<code>this</code> reference) in which the handler function is executed.</p>\n",
204 "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this\nis the <a href=\"#/api/Ext.util.Observable-method-addListener\" rel=\"Ext.util.Observable-method-addListener\" class=\"docClass\">addListener</a> options.</p>\n",
214 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
216 "html_filename": "Observable.html",
217 "href": "Observable.html#Ext-util-Observable-method-addManagedListener",
218 "shortDoc": "<p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component\nis destroyed.\n\n"
223 "member": "Ext.data.proxy.Proxy",
224 "doc": "<p>Performs a batch of <a href=\"#/api/Ext.data.Operation\" rel=\"Ext.data.Operation\" class=\"docClass\">Operations</a>, in the order specified by <a href=\"#/api/Ext.data.proxy.Proxy-cfg-batchOrder\" rel=\"Ext.data.proxy.Proxy-cfg-batchOrder\" class=\"docClass\">batchOrder</a>. Used internally by\n<a href=\"#/api/Ext.data.Store\" rel=\"Ext.data.Store\" class=\"docClass\">Ext.data.Store</a>'s <a href=\"#/api/Ext.data.Store-method-sync\" rel=\"Ext.data.Store-method-sync\" class=\"docClass\">sync</a> method. Example usage:</p>\n\n<pre><code>myProxy.batch({\n create : [myModel1, myModel2],\n update : [myModel3],\n destroy: [myModel4, myModel5]\n});\n</code></pre>\n\n\n<p>Where the myModel* above are <a href=\"#/api/Ext.data.Model\" rel=\"Ext.data.Model\" class=\"docClass\">Model</a> instances - in this case 1 and 2 are new instances and have not been\nsaved before, 3 has been saved previously but needs to be updated, and 4 and 5 have already been saved but should now be destroyed.</p>\n",
228 "name": "operations",
229 "doc": "<p>Object containing the Model instances to act upon, keyed by action name</p>\n",
235 "doc": "<p>Optional listeners object passed straight through to the Batch - see <a href=\"#/api/Ext.data.Batch\" rel=\"Ext.data.Batch\" class=\"docClass\">Ext.data.Batch</a></p>\n",
240 "type": "Ext.data.Batch",
241 "doc": "<p>The newly created <a href=\"#/api/Ext.data.Batch\" rel=\"Ext.data.Batch\" class=\"docClass\">Ext.data.Batch</a> object</p>\n"
245 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Proxy.js",
247 "html_filename": "Proxy2.html",
248 "href": "Proxy2.html#Ext-data-proxy-Proxy-method-batch",
249 "shortDoc": "Performs a batch of Operations, in the order specified by batchOrder. Used internally by\nExt.data.Store's sync method..."
254 "member": "Ext.util.Observable",
255 "doc": "<p>Starts capture on the specified Observable. All events will be passed\nto the supplied function with the event name + standard signature of the event\n<b>before</b> the event is fired. If the supplied function returns false,\nthe event will not fire.</p>\n",
258 "type": "Observable",
260 "doc": "<p>The Observable to capture events from.</p>\n",
266 "doc": "<p>The function to call when an event is fired.</p>\n",
272 "doc": "<p>(optional) The scope (<code>this</code> reference) in which the function is executed. Defaults to the Observable firing the event.</p>\n",
282 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
284 "html_filename": "Observable.html",
285 "href": "Observable.html#Ext-util-Observable-method-capture",
286 "shortDoc": "Starts capture on the specified Observable. All events will be passed\nto the supplied function with the event name + ..."
290 "name": "clearListeners",
291 "member": "Ext.util.Observable",
292 "doc": "<p>Removes all listeners for this object including the managed listeners</p>\n",
302 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
304 "html_filename": "Observable.html",
305 "href": "Observable.html#Ext-util-Observable-method-clearListeners",
306 "shortDoc": "<p>Removes all listeners for this object including the managed listeners</p>\n"
310 "name": "clearManagedListeners",
311 "member": "Ext.util.Observable",
312 "doc": "<p>Removes all managed listeners for this object.</p>\n",
322 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
324 "html_filename": "Observable.html",
325 "href": "Observable.html#Ext-util-Observable-method-clearManagedListeners",
326 "shortDoc": "<p>Removes all managed listeners for this object.</p>\n"
331 "member": "Ext.data.proxy.Proxy",
332 "doc": "<p>Performs the given create operation.</p>\n",
335 "type": "Ext.data.Operation",
337 "doc": "<p>The Operation to perform</p>\n",
343 "doc": "<p>Callback function to be called when the Operation has completed (whether successful or not)</p>\n",
349 "doc": "<p>Scope to execute the callback function in</p>\n",
359 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Proxy.js",
361 "html_filename": "Proxy2.html",
362 "href": "Proxy2.html#Ext-data-proxy-Proxy-method-create",
363 "shortDoc": "<p>Performs the given create operation.</p>\n"
368 "member": "Ext.data.proxy.Proxy",
369 "doc": "<p>Performs the given destroy operation.</p>\n",
372 "type": "Ext.data.Operation",
374 "doc": "<p>The Operation to perform</p>\n",
380 "doc": "<p>Callback function to be called when the Operation has completed (whether successful or not)</p>\n",
386 "doc": "<p>Scope to execute the callback function in</p>\n",
396 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Proxy.js",
398 "html_filename": "Proxy2.html",
399 "href": "Proxy2.html#Ext-data-proxy-Proxy-method-destroy",
400 "shortDoc": "<p>Performs the given destroy operation.</p>\n"
404 "name": "enableBubble",
405 "member": "Ext.util.Observable",
406 "doc": "<p>Enables events fired by this Observable to bubble up an owner hierarchy by calling\n<code>this.getBubbleTarget()</code> if present. There is no implementation in the Observable base class.</p>\n\n\n<p>This is commonly used by Ext.Components to bubble events to owner Containers. See <a href=\"#/api/Ext.Component-method-getBubbleTarget\" rel=\"Ext.Component-method-getBubbleTarget\" class=\"docClass\">Ext.Component.getBubbleTarget</a>. The default\nimplementation in <a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Ext.Component</a> returns the Component's immediate owner. But if a known target is required, this can be overridden to\naccess the required target more quickly.</p>\n\n\n<p>Example:</p>\n\n\n<pre><code>Ext.override(Ext.form.field.Base, {\n// Add functionality to Field's initComponent to enable the change event to bubble\ninitComponent : Ext.Function.createSequence(Ext.form.field.Base.prototype.initComponent, function() {\n this.enableBubble('change');\n}),\n\n// We know that we want Field's events to bubble directly to the FormPanel.\ngetBubbleTarget : function() {\n if (!this.formPanel) {\n this.formPanel = this.findParentByType('form');\n }\n return this.formPanel;\n}\n});\n\nvar myForm = new Ext.formPanel({\ntitle: 'User Details',\nitems: [{\n ...\n}],\nlisteners: {\n change: function() {\n // Title goes red if form has been modified.\n myForm.header.setStyle('color', 'red');\n }\n}\n});\n</code></pre>\n\n",
409 "type": "String/Array",
411 "doc": "<p>The event name to bubble, or an Array of event names.</p>\n",
421 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
423 "html_filename": "Observable.html",
424 "href": "Observable.html#Ext-util-Observable-method-enableBubble",
425 "shortDoc": "Enables events fired by this Observable to bubble up an owner hierarchy by calling\nthis.getBubbleTarget() if present...."
430 "member": "Ext.util.Observable",
431 "doc": "<p>Fires the specified event with the passed parameters (minus the event name).</p>\n\n\n<p>An event may be set to bubble up an Observable parent hierarchy (See <a href=\"#/api/Ext.Component-method-getBubbleTarget\" rel=\"Ext.Component-method-getBubbleTarget\" class=\"docClass\">Ext.Component.getBubbleTarget</a>)\nby calling <a href=\"#/api/Ext.data.proxy.Proxy-method-enableBubble\" rel=\"Ext.data.proxy.Proxy-method-enableBubble\" class=\"docClass\">enableBubble</a>.</p>\n\n",
436 "doc": "<p>The name of the event to fire.</p>\n",
442 "doc": "<p>Variable number of parameters are passed to handlers.</p>\n",
448 "doc": "<p>returns false if any of the handlers return false otherwise it returns true.</p>\n"
452 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
454 "html_filename": "Observable.html",
455 "href": "Observable.html#Ext-util-Observable-method-fireEvent",
456 "shortDoc": "Fires the specified event with the passed parameters (minus the event name).\n\n\nAn event may be set to bubble up an Ob..."
461 "member": "Ext.data.proxy.Proxy",
462 "doc": "<p>Returns the model attached to this Proxy</p>\n",
467 "type": "Ext.data.Model",
468 "doc": "<p>The model</p>\n"
472 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Proxy.js",
474 "html_filename": "Proxy2.html",
475 "href": "Proxy2.html#Ext-data-proxy-Proxy-method-getModel",
476 "shortDoc": "<p>Returns the model attached to this Proxy</p>\n"
481 "member": "Ext.data.proxy.Proxy",
482 "doc": "<p>Returns the reader currently attached to this proxy instance</p>\n",
487 "type": "Ext.data.reader.Reader",
488 "doc": "<p>The Reader instance</p>\n"
492 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Proxy.js",
494 "html_filename": "Proxy2.html",
495 "href": "Proxy2.html#Ext-data-proxy-Proxy-method-getReader",
496 "shortDoc": "<p>Returns the reader currently attached to this proxy instance</p>\n"
501 "member": "Ext.data.proxy.Proxy",
502 "doc": "<p>Returns the writer currently attached to this proxy instance</p>\n",
507 "type": "Ext.data.writer.Writer",
508 "doc": "<p>The Writer instance</p>\n"
512 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Proxy.js",
514 "html_filename": "Proxy2.html",
515 "href": "Proxy2.html#Ext-data-proxy-Proxy-method-getWriter",
516 "shortDoc": "<p>Returns the writer currently attached to this proxy instance</p>\n"
520 "name": "hasListener",
521 "member": "Ext.util.Observable",
522 "doc": "<p>Checks to see if this object has any listeners for a specified event</p>\n",
527 "doc": "<p>The name of the event to check for</p>\n",
533 "doc": "<p>True if the event is being listened for, else false</p>\n"
537 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
539 "html_filename": "Observable.html",
540 "href": "Observable.html#Ext-util-Observable-method-hasListener",
541 "shortDoc": "<p>Checks to see if this object has any listeners for a specified event</p>\n"
546 "member": "Ext.util.Observable",
547 "doc": "<p>Sets observability on the passed class constructor.</p>\n\n<p>This makes any event fired on any instance of the passed class also fire a single event through\nthe <strong>class</strong> allowing for central handling of events on many instances at once.</p>\n\n<p>Usage:</p>\n\n<pre><code>Ext.util.Observable.observe(Ext.data.Connection);\nExt.data.Connection.on('beforerequest', function(con, options) {\n console.log('Ajax request made to ' + options.url);\n});\n</code></pre>\n",
552 "doc": "<p>The class constructor to make observable.</p>\n",
558 "doc": "<p>An object containing a series of listeners to add. See <a href=\"#/api/Ext.data.proxy.Proxy-method-addListener\" rel=\"Ext.data.proxy.Proxy-method-addListener\" class=\"docClass\">addListener</a>.</p>\n",
568 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
570 "html_filename": "Observable.html",
571 "href": "Observable.html#Ext-util-Observable-method-observe",
572 "shortDoc": "Sets observability on the passed class constructor.\n\nThis makes any event fired on any instance of the passed class a..."
577 "member": "Ext.util.Observable",
578 "doc": "<p>Appends an event handler to this object (shorthand for <a href=\"#/api/Ext.data.proxy.Proxy-method-addListener\" rel=\"Ext.data.proxy.Proxy-method-addListener\" class=\"docClass\">addListener</a>.)</p>\n",
583 "doc": "<p>The type of event to listen for</p>\n",
589 "doc": "<p>The method the event invokes</p>\n",
595 "doc": "<p>(optional) The scope (<code><b>this</b></code> reference) in which the handler function is executed.\n<b>If omitted, defaults to the object which fired the event.</b></p>\n",
601 "doc": "<p>(optional) An object containing handler configuration.</p>\n",
611 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
613 "html_filename": "Observable.html",
614 "href": "Observable.html#Ext-util-Observable-method-on",
615 "shortDoc": "<p>Appends an event handler to this object (shorthand for <a href=\"#/api/Ext.data.proxy.Proxy-method-addListener\" rel=\"Ext.data.proxy.Proxy-method-addListener\" class=\"docClass\">addListener</a>.)</p>\n"
620 "member": "Ext.data.proxy.Proxy",
621 "doc": "<p>Performs the given read operation.</p>\n",
624 "type": "Ext.data.Operation",
626 "doc": "<p>The Operation to perform</p>\n",
632 "doc": "<p>Callback function to be called when the Operation has completed (whether successful or not)</p>\n",
638 "doc": "<p>Scope to execute the callback function in</p>\n",
648 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Proxy.js",
650 "html_filename": "Proxy2.html",
651 "href": "Proxy2.html#Ext-data-proxy-Proxy-method-read",
652 "shortDoc": "<p>Performs the given read operation.</p>\n"
656 "name": "relayEvents",
657 "member": "Ext.util.Observable",
658 "doc": "<p>Relays selected events from the specified Observable as if the events were fired by <code><b>this</b></code>.</p>\n",
663 "doc": "<p>The Observable whose events this object is to relay.</p>\n",
669 "doc": "<p>Array of event names to relay.</p>\n",
685 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
687 "html_filename": "Observable.html",
688 "href": "Observable.html#Ext-util-Observable-method-relayEvents",
689 "shortDoc": "<p>Relays selected events from the specified Observable as if the events were fired by <code><b>this</b></code>.</p>\n"
693 "name": "releaseCapture",
694 "member": "Ext.util.Observable",
695 "doc": "<p>Removes <b>all</b> added captures from the Observable.</p>\n",
698 "type": "Observable",
700 "doc": "<p>The Observable to release</p>\n",
710 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
712 "html_filename": "Observable.html",
713 "href": "Observable.html#Ext-util-Observable-method-releaseCapture",
714 "shortDoc": "<p>Removes <b>all</b> added captures from the Observable.</p>\n"
718 "name": "removeListener",
719 "member": "Ext.util.Observable",
720 "doc": "<p>Removes an event handler.</p>\n",
725 "doc": "<p>The type of event the handler was associated with.</p>\n",
731 "doc": "<p>The handler to remove. <b>This must be a reference to the function passed into the <a href=\"#/api/Ext.data.proxy.Proxy-method-addListener\" rel=\"Ext.data.proxy.Proxy-method-addListener\" class=\"docClass\">addListener</a> call.</b></p>\n",
737 "doc": "<p>(optional) The scope originally specified for the handler.</p>\n",
747 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
749 "html_filename": "Observable.html",
750 "href": "Observable.html#Ext-util-Observable-method-removeListener",
751 "shortDoc": "<p>Removes an event handler.</p>\n"
755 "name": "removeManagedListener",
756 "member": "Ext.util.Observable",
757 "doc": "<p>Removes listeners that were added by the <a href=\"#/api/Ext.data.proxy.Proxy--mon\" rel=\"Ext.data.proxy.Proxy--mon\" class=\"docClass\">mon</a> method.</p>\n",
760 "type": "Observable|Element",
762 "doc": "<p>The item from which to remove a listener/listeners.</p>\n",
766 "type": "Object|String",
768 "doc": "<p>The event name, or an object containing event name properties.</p>\n",
774 "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this\nis the handler function.</p>\n",
780 "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this\nis the scope (<code>this</code> reference) in which the handler function is executed.</p>\n",
790 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
792 "html_filename": "Observable.html",
793 "href": "Observable.html#Ext-util-Observable-method-removeManagedListener",
794 "shortDoc": "<p>Removes listeners that were added by the <a href=\"#/api/Ext.data.proxy.Proxy--mon\" rel=\"Ext.data.proxy.Proxy--mon\" class=\"docClass\">mon</a> method.</p>\n"
798 "name": "resumeEvents",
799 "member": "Ext.util.Observable",
800 "doc": "<p>Resume firing events. (see <a href=\"#/api/Ext.data.proxy.Proxy-method-suspendEvents\" rel=\"Ext.data.proxy.Proxy-method-suspendEvents\" class=\"docClass\">suspendEvents</a>)\nIf events were suspended using the <code><b>queueSuspended</b></code> parameter, then all\nevents fired during event suspension will be sent to any listeners now.</p>\n",
810 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
812 "html_filename": "Observable.html",
813 "href": "Observable.html#Ext-util-Observable-method-resumeEvents",
814 "shortDoc": "Resume firing events. (see suspendEvents)\nIf events were suspended using the queueSuspended parameter, then all\nevent..."
819 "member": "Ext.data.proxy.Proxy",
820 "doc": "<p>Sets the model associated with this proxy. This will only usually be called by a Store</p>\n",
823 "type": "String|Ext.data.Model",
825 "doc": "<p>The new model. Can be either the model name string,\nor a reference to the model's constructor</p>\n",
830 "name": "setOnStore",
831 "doc": "<p>Sets the new model on the associated Store, if one is present</p>\n",
841 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Proxy.js",
843 "html_filename": "Proxy2.html",
844 "href": "Proxy2.html#Ext-data-proxy-Proxy-method-setModel",
845 "shortDoc": "<p>Sets the model associated with this proxy. This will only usually be called by a Store</p>\n"
850 "member": "Ext.data.proxy.Proxy",
851 "doc": "<p>Sets the Proxy's Reader by string, config object or Reader instance</p>\n",
854 "type": "String|Object|Ext.data.reader.Reader",
856 "doc": "<p>The new Reader, which can be either a type string, a configuration object\nor an <a href=\"#/api/Ext.data.reader.Reader\" rel=\"Ext.data.reader.Reader\" class=\"docClass\">Ext.data.reader.Reader</a> instance</p>\n",
861 "type": "Ext.data.reader.Reader",
862 "doc": "<p>The attached Reader object</p>\n"
866 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Proxy.js",
868 "html_filename": "Proxy2.html",
869 "href": "Proxy2.html#Ext-data-proxy-Proxy-method-setReader",
870 "shortDoc": "<p>Sets the Proxy's Reader by string, config object or Reader instance</p>\n"
875 "member": "Ext.data.proxy.Proxy",
876 "doc": "<p>Sets the Proxy's Writer by string, config object or Writer instance</p>\n",
879 "type": "String|Object|Ext.data.writer.Writer",
881 "doc": "<p>The new Writer, which can be either a type string, a configuration object\nor an <a href=\"#/api/Ext.data.writer.Writer\" rel=\"Ext.data.writer.Writer\" class=\"docClass\">Ext.data.writer.Writer</a> instance</p>\n",
886 "type": "Ext.data.writer.Writer",
887 "doc": "<p>The attached Writer object</p>\n"
891 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Proxy.js",
893 "html_filename": "Proxy2.html",
894 "href": "Proxy2.html#Ext-data-proxy-Proxy-method-setWriter",
895 "shortDoc": "<p>Sets the Proxy's Writer by string, config object or Writer instance</p>\n"
899 "name": "suspendEvents",
900 "member": "Ext.util.Observable",
901 "doc": "<p>Suspend the firing of all events. (see <a href=\"#/api/Ext.data.proxy.Proxy-method-resumeEvents\" rel=\"Ext.data.proxy.Proxy-method-resumeEvents\" class=\"docClass\">resumeEvents</a>)</p>\n",
905 "name": "queueSuspended",
906 "doc": "<p>Pass as true to queue up suspended events to be fired\nafter the <a href=\"#/api/Ext.data.proxy.Proxy-method-resumeEvents\" rel=\"Ext.data.proxy.Proxy-method-resumeEvents\" class=\"docClass\">resumeEvents</a> call instead of discarding all suspended events;</p>\n",
916 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
918 "html_filename": "Observable.html",
919 "href": "Observable.html#Ext-util-Observable-method-suspendEvents",
920 "shortDoc": "<p>Suspend the firing of all events. (see <a href=\"#/api/Ext.data.proxy.Proxy-method-resumeEvents\" rel=\"Ext.data.proxy.Proxy-method-resumeEvents\" class=\"docClass\">resumeEvents</a>)</p>\n"
925 "member": "Ext.util.Observable",
926 "doc": "<p>Removes an event handler (shorthand for <a href=\"#/api/Ext.data.proxy.Proxy-method-removeListener\" rel=\"Ext.data.proxy.Proxy-method-removeListener\" class=\"docClass\">removeListener</a>.)</p>\n",
931 "doc": "<p>The type of event the handler was associated with.</p>\n",
937 "doc": "<p>The handler to remove. <b>This must be a reference to the function passed into the <a href=\"#/api/Ext.data.proxy.Proxy-method-addListener\" rel=\"Ext.data.proxy.Proxy-method-addListener\" class=\"docClass\">addListener</a> call.</b></p>\n",
943 "doc": "<p>(optional) The scope originally specified for the handler.</p>\n",
953 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
955 "html_filename": "Observable.html",
956 "href": "Observable.html#Ext-util-Observable-method-un",
957 "shortDoc": "<p>Removes an event handler (shorthand for <a href=\"#/api/Ext.data.proxy.Proxy-method-removeListener\" rel=\"Ext.data.proxy.Proxy-method-removeListener\" class=\"docClass\">removeListener</a>.)</p>\n"
962 "member": "Ext.data.proxy.Proxy",
963 "doc": "<p>Performs the given update operation.</p>\n",
966 "type": "Ext.data.Operation",
968 "doc": "<p>The Operation to perform</p>\n",
974 "doc": "<p>Callback function to be called when the Operation has completed (whether successful or not)</p>\n",
980 "doc": "<p>Scope to execute the callback function in</p>\n",
990 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Proxy.js",
992 "html_filename": "Proxy2.html",
993 "href": "Proxy2.html#Ext-data-proxy-Proxy-method-update",
994 "shortDoc": "<p>Performs the given update operation.</p>\n"
1003 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Proxy.js",
1005 "html_filename": "Proxy2.html",
1006 "href": "Proxy2.html#Ext-data-proxy-Proxy",
1018 "Ext.data.proxy.Client",
1019 "Ext.data.proxy.Server"
1025 "Ext.util.Observable"