Upgrade to ExtJS 4.0.1 - Released 05/18/2011
[extjs.git] / docs / output / Ext.Ajax.js
1 Ext.data.JsonP.Ext_Ajax({
2   "tagname": "class",
3   "name": "Ext.Ajax",
4   "doc": "<p>A singleton instance of an <a href=\"#/api/Ext.data.Connection\" rel=\"Ext.data.Connection\" class=\"docClass\">Ext.data.Connection</a>. This class\nis used to communicate with your server side code. It can be used as follows:</p>\n\n<pre><code>Ext.Ajax.request({\n    url: 'page.php',\n    params: {\n        id: 1\n    },\n    success: function(response){\n        var text = response.responseText;\n        // process server response here\n    }\n});\n</code></pre>\n\n<p>Default options for all requests can be set by changing a property on the <a href=\"#/api/Ext.Ajax\" rel=\"Ext.Ajax\" class=\"docClass\">Ext.Ajax</a> class:</p>\n\n<pre><code>Ext.Ajax.timeout = 60000; // 60 seconds\n</code></pre>\n\n<p>Any options specified in the request method for the Ajax request will override any\ndefaults set on the <a href=\"#/api/Ext.Ajax\" rel=\"Ext.Ajax\" class=\"docClass\">Ext.Ajax</a> class. In the code sample below, the timeout for the\nrequest will be 60 seconds.</p>\n\n<pre><code>Ext.Ajax.timeout = 120000; // 120 seconds\nExt.Ajax.request({\n    url: 'page.aspx',\n    timeout: 60000\n});\n</code></pre>\n\n<p>In general, this class will be used for all Ajax requests in your application.\nThe main reason for creating a separate <a href=\"#/api/Ext.data.Connection\" rel=\"Ext.data.Connection\" class=\"docClass\">Ext.data.Connection</a> is for a\nseries of requests that share common settings that are different to all other\nrequests in the application.</p>\n",
5   "extends": "Ext.data.Connection",
6   "mixins": [
7
8   ],
9   "alternateClassNames": [
10
11   ],
12   "xtype": null,
13   "author": null,
14   "docauthor": null,
15   "singleton": true,
16   "private": false,
17   "cfg": [
18     {
19       "tagname": "cfg",
20       "name": "disableCaching",
21       "member": "Ext.data.Connection",
22       "type": "Boolean",
23       "doc": "<p>(Optional) True to add a unique cache-buster param to GET requests. (defaults to true)</p>\n",
24       "private": false,
25       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/Connection.js",
26       "linenr": 48,
27       "html_filename": "Connection.html",
28       "href": "Connection.html#Ext-data-Connection-cfg-disableCaching"
29     },
30     {
31       "tagname": "cfg",
32       "name": "disableCachingParam",
33       "member": "Ext.data.Connection",
34       "type": "String",
35       "doc": "<p>(Optional) Change the parameter which is sent went disabling caching\nthrough a cache buster. Defaults to '_dc'</p>\n",
36       "private": false,
37       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/Connection.js",
38       "linenr": 53,
39       "html_filename": "Connection.html",
40       "href": "Connection.html#Ext-data-Connection-cfg-disableCachingParam"
41     },
42     {
43       "tagname": "cfg",
44       "name": "extraParams",
45       "member": "Ext.data.Connection",
46       "type": "Object",
47       "doc": "<p>(Optional) Any parameters to be appended to the request.</p>\n",
48       "private": false,
49       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/Connection.js",
50       "linenr": 64,
51       "html_filename": "Connection.html",
52       "href": "Connection.html#Ext-data-Connection-cfg-extraParams"
53     },
54     {
55       "tagname": "cfg",
56       "name": "listeners",
57       "member": "Ext.util.Observable",
58       "type": "Object",
59       "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.Ajax-method-addListener\" rel=\"Ext.Ajax-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",
60       "private": false,
61       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
62       "linenr": 103,
63       "html_filename": "Observable.html",
64       "href": "Observable.html#Ext-util-Observable-cfg-listeners",
65       "shortDoc": "(optional) A config object containing one or more event handlers to be added to this\nobject during initialization.  T..."
66     },
67     {
68       "tagname": "cfg",
69       "name": "timeout",
70       "member": "Ext.data.Connection",
71       "type": "Number",
72       "doc": "<p>(Optional) The timeout in milliseconds to be used for requests. (defaults to 30000)</p>\n",
73       "private": false,
74       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/Connection.js",
75       "linenr": 59,
76       "html_filename": "Connection.html",
77       "href": "Connection.html#Ext-data-Connection-cfg-timeout"
78     }
79   ],
80   "method": [
81     {
82       "tagname": "method",
83       "name": "abort",
84       "member": "Ext.data.Connection",
85       "doc": "<p>Aborts any outstanding request.</p>\n",
86       "params": [
87         {
88           "type": "Object",
89           "name": "request",
90           "doc": "<p>(Optional) defaults to the last request</p>\n",
91           "optional": false
92         }
93       ],
94       "return": {
95         "type": "void",
96         "doc": "\n"
97       },
98       "private": false,
99       "static": false,
100       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/Connection.js",
101       "linenr": 636,
102       "html_filename": "Connection.html",
103       "href": "Connection.html#Ext-data-Connection-method-abort",
104       "shortDoc": "<p>Aborts any outstanding request.</p>\n"
105     },
106     {
107       "tagname": "method",
108       "name": "addEvents",
109       "member": "Ext.util.Observable",
110       "doc": "<p>Adds the specified events to the list of events which this Observable may fire.</p>\n",
111       "params": [
112         {
113           "type": "Object/String",
114           "name": "o",
115           "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",
116           "optional": false
117         },
118         {
119           "type": "String",
120           "name": "",
121           "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           "optional": false
123         }
124       ],
125       "return": {
126         "type": "void",
127         "doc": "\n"
128       },
129       "private": false,
130       "static": false,
131       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
132       "linenr": 452,
133       "html_filename": "Observable.html",
134       "href": "Observable.html#Ext-util-Observable-method-addEvents",
135       "shortDoc": "<p>Adds the specified events to the list of events which this Observable may fire.</p>\n"
136     },
137     {
138       "tagname": "method",
139       "name": "addListener",
140       "member": "Ext.util.Observable",
141       "doc": "<p>Appends an event handler to this object.</p>\n",
142       "params": [
143         {
144           "type": "String",
145           "name": "eventName",
146           "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",
147           "optional": false
148         },
149         {
150           "type": "Function",
151           "name": "handler",
152           "doc": "<p>The method the event invokes.</p>\n",
153           "optional": false
154         },
155         {
156           "type": "Object",
157           "name": "scope",
158           "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",
159           "optional": true
160         },
161         {
162           "type": "Object",
163           "name": "options",
164           "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           "optional": true
166         }
167       ],
168       "return": {
169         "type": "void",
170         "doc": "\n"
171       },
172       "private": false,
173       "static": false,
174       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
175       "linenr": 271,
176       "html_filename": "Observable.html",
177       "href": "Observable.html#Ext-util-Observable-method-addListener",
178       "shortDoc": "<p>Appends an event handler to this object.</p>\n"
179     },
180     {
181       "tagname": "method",
182       "name": "addManagedListener",
183       "member": "Ext.util.Observable",
184       "doc": "<p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component\nis destroyed.\n\n",
185       "params": [
186         {
187           "type": "Observable/Element",
188           "name": "item",
189           "doc": "<p>The item to which to add a listener/listeners.</p>\n",
190           "optional": false
191         },
192         {
193           "type": "Object/String",
194           "name": "ename",
195           "doc": "<p>The event name, or an object containing event name properties.</p>\n",
196           "optional": false
197         },
198         {
199           "type": "Function",
200           "name": "fn",
201           "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this\nis the handler function.</p>\n",
202           "optional": false
203         },
204         {
205           "type": "Object",
206           "name": "scope",
207           "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",
208           "optional": false
209         },
210         {
211           "type": "Object",
212           "name": "opt",
213           "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           "optional": false
215         }
216       ],
217       "return": {
218         "type": "void",
219         "doc": "\n"
220       },
221       "private": false,
222       "static": false,
223       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
224       "linenr": 155,
225       "html_filename": "Observable.html",
226       "href": "Observable.html#Ext-util-Observable-method-addManagedListener",
227       "shortDoc": "<p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component\nis destroyed.\n\n"
228     },
229     {
230       "tagname": "method",
231       "name": "capture",
232       "member": "Ext.util.Observable",
233       "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",
234       "params": [
235         {
236           "type": "Observable",
237           "name": "o",
238           "doc": "<p>The Observable to capture events from.</p>\n",
239           "optional": false
240         },
241         {
242           "type": "Function",
243           "name": "fn",
244           "doc": "<p>The function to call when an event is fired.</p>\n",
245           "optional": false
246         },
247         {
248           "type": "Object",
249           "name": "scope",
250           "doc": "<p>(optional) The scope (<code>this</code> reference) in which the function is executed. Defaults to the Observable firing the event.</p>\n",
251           "optional": true
252         }
253       ],
254       "return": {
255         "type": "void",
256         "doc": "\n"
257       },
258       "private": false,
259       "static": true,
260       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
261       "linenr": 55,
262       "html_filename": "Observable.html",
263       "href": "Observable.html#Ext-util-Observable-method-capture",
264       "shortDoc": "Starts capture on the specified Observable. All events will be passed\nto the supplied function with the event name + ..."
265     },
266     {
267       "tagname": "method",
268       "name": "clearListeners",
269       "member": "Ext.util.Observable",
270       "doc": "<p>Removes all listeners for this object including the managed listeners</p>\n",
271       "params": [
272
273       ],
274       "return": {
275         "type": "void",
276         "doc": "\n"
277       },
278       "private": false,
279       "static": false,
280       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
281       "linenr": 383,
282       "html_filename": "Observable.html",
283       "href": "Observable.html#Ext-util-Observable-method-clearListeners",
284       "shortDoc": "<p>Removes all listeners for this object including the managed listeners</p>\n"
285     },
286     {
287       "tagname": "method",
288       "name": "clearManagedListeners",
289       "member": "Ext.util.Observable",
290       "doc": "<p>Removes all managed listeners for this object.</p>\n",
291       "params": [
292
293       ],
294       "return": {
295         "type": "void",
296         "doc": "\n"
297       },
298       "private": false,
299       "static": false,
300       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
301       "linenr": 412,
302       "html_filename": "Observable.html",
303       "href": "Observable.html#Ext-util-Observable-method-clearManagedListeners",
304       "shortDoc": "<p>Removes all managed listeners for this object.</p>\n"
305     },
306     {
307       "tagname": "method",
308       "name": "enableBubble",
309       "member": "Ext.util.Observable",
310       "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&#39;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&#39;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",
311       "params": [
312         {
313           "type": "String/Array",
314           "name": "events",
315           "doc": "<p>The event name to bubble, or an Array of event names.</p>\n",
316           "optional": false
317         }
318       ],
319       "return": {
320         "type": "void",
321         "doc": "\n"
322       },
323       "private": false,
324       "static": false,
325       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
326       "linenr": 554,
327       "html_filename": "Observable.html",
328       "href": "Observable.html#Ext-util-Observable-method-enableBubble",
329       "shortDoc": "Enables events fired by this Observable to bubble up an owner hierarchy by calling\nthis.getBubbleTarget() if present...."
330     },
331     {
332       "tagname": "method",
333       "name": "fireEvent",
334       "member": "Ext.util.Observable",
335       "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.Ajax-method-enableBubble\" rel=\"Ext.Ajax-method-enableBubble\" class=\"docClass\">enableBubble</a>.</p>\n\n",
336       "params": [
337         {
338           "type": "String",
339           "name": "eventName",
340           "doc": "<p>The name of the event to fire.</p>\n",
341           "optional": false
342         },
343         {
344           "type": "Object...",
345           "name": "args",
346           "doc": "<p>Variable number of parameters are passed to handlers.</p>\n",
347           "optional": false
348         }
349       ],
350       "return": {
351         "type": "Boolean",
352         "doc": "<p>returns false if any of the handlers return false otherwise it returns true.</p>\n"
353       },
354       "private": false,
355       "static": false,
356       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
357       "linenr": 232,
358       "html_filename": "Observable.html",
359       "href": "Observable.html#Ext-util-Observable-method-fireEvent",
360       "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..."
361     },
362     {
363       "tagname": "method",
364       "name": "hasListener",
365       "member": "Ext.util.Observable",
366       "doc": "<p>Checks to see if this object has any listeners for a specified event</p>\n",
367       "params": [
368         {
369           "type": "String",
370           "name": "eventName",
371           "doc": "<p>The name of the event to check for</p>\n",
372           "optional": false
373         }
374       ],
375       "return": {
376         "type": "Boolean",
377         "doc": "<p>True if the event is being listened for, else false</p>\n"
378       },
379       "private": false,
380       "static": false,
381       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
382       "linenr": 480,
383       "html_filename": "Observable.html",
384       "href": "Observable.html#Ext-util-Observable-method-hasListener",
385       "shortDoc": "<p>Checks to see if this object has any listeners for a specified event</p>\n"
386     },
387     {
388       "tagname": "method",
389       "name": "isLoading",
390       "member": "Ext.data.Connection",
391       "doc": "<p>Determine whether this object has a request outstanding.</p>\n",
392       "params": [
393         {
394           "type": "Object",
395           "name": "request",
396           "doc": "<p>(Optional) defaults to the last transaction</p>\n",
397           "optional": false
398         }
399       ],
400       "return": {
401         "type": "Boolean",
402         "doc": "<p>True if there is an outstanding request.</p>\n"
403       },
404       "private": false,
405       "static": false,
406       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/Connection.js",
407       "linenr": 622,
408       "html_filename": "Connection.html",
409       "href": "Connection.html#Ext-data-Connection-method-isLoading",
410       "shortDoc": "<p>Determine whether this object has a request outstanding.</p>\n"
411     },
412     {
413       "tagname": "method",
414       "name": "observe",
415       "member": "Ext.util.Observable",
416       "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",
417       "params": [
418         {
419           "type": "Function",
420           "name": "c",
421           "doc": "<p>The class constructor to make observable.</p>\n",
422           "optional": false
423         },
424         {
425           "type": "Object",
426           "name": "listeners",
427           "doc": "<p>An object containing a series of listeners to add. See <a href=\"#/api/Ext.Ajax-method-addListener\" rel=\"Ext.Ajax-method-addListener\" class=\"docClass\">addListener</a>.</p>\n",
428           "optional": false
429         }
430       ],
431       "return": {
432         "type": "void",
433         "doc": "\n"
434       },
435       "private": false,
436       "static": true,
437       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
438       "linenr": 69,
439       "html_filename": "Observable.html",
440       "href": "Observable.html#Ext-util-Observable-method-observe",
441       "shortDoc": "Sets observability on the passed class constructor.\n\nThis makes any event fired on any instance of the passed class a..."
442     },
443     {
444       "tagname": "method",
445       "name": "on",
446       "member": "Ext.util.Observable",
447       "doc": "<p>Appends an event handler to this object (shorthand for <a href=\"#/api/Ext.Ajax-method-addListener\" rel=\"Ext.Ajax-method-addListener\" class=\"docClass\">addListener</a>.)</p>\n",
448       "params": [
449         {
450           "type": "String",
451           "name": "eventName",
452           "doc": "<p>The type of event to listen for</p>\n",
453           "optional": false
454         },
455         {
456           "type": "Function",
457           "name": "handler",
458           "doc": "<p>The method the event invokes</p>\n",
459           "optional": false
460         },
461         {
462           "type": "Object",
463           "name": "scope",
464           "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",
465           "optional": true
466         },
467         {
468           "type": "Object",
469           "name": "options",
470           "doc": "<p>(optional) An object containing handler configuration.</p>\n",
471           "optional": true
472         }
473       ],
474       "return": {
475         "type": "void",
476         "doc": "\n"
477       },
478       "private": false,
479       "static": false,
480       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
481       "linenr": 616,
482       "html_filename": "Observable.html",
483       "href": "Observable.html#Ext-util-Observable-method-on",
484       "shortDoc": "<p>Appends an event handler to this object (shorthand for <a href=\"#/api/Ext.Ajax-method-addListener\" rel=\"Ext.Ajax-method-addListener\" class=\"docClass\">addListener</a>.)</p>\n"
485     },
486     {
487       "tagname": "method",
488       "name": "parseStatus",
489       "member": "Ext.data.Connection",
490       "doc": "<p>Check if the response status was successful</p>\n",
491       "params": [
492         {
493           "type": "Number",
494           "name": "status",
495           "doc": "<p>The status code</p>\n",
496           "optional": false
497         }
498       ],
499       "return": {
500         "type": "Object",
501         "doc": "<p>An object containing success/status state</p>\n"
502       },
503       "private": false,
504       "static": false,
505       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/Connection.js",
506       "linenr": 732,
507       "html_filename": "Connection.html",
508       "href": "Connection.html#Ext-data-Connection-method-parseStatus",
509       "shortDoc": "<p>Check if the response status was successful</p>\n"
510     },
511     {
512       "tagname": "method",
513       "name": "relayEvents",
514       "member": "Ext.util.Observable",
515       "doc": "<p>Relays selected events from the specified Observable as if the events were fired by <code><b>this</b></code>.</p>\n",
516       "params": [
517         {
518           "type": "Object",
519           "name": "origin",
520           "doc": "<p>The Observable whose events this object is to relay.</p>\n",
521           "optional": false
522         },
523         {
524           "type": "Array",
525           "name": "events",
526           "doc": "<p>Array of event names to relay.</p>\n",
527           "optional": false
528         },
529         {
530           "type": "Object",
531           "name": "prefix",
532           "doc": "\n",
533           "optional": false
534         }
535       ],
536       "return": {
537         "type": "void",
538         "doc": "\n"
539       },
540       "private": false,
541       "static": false,
542       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
543       "linenr": 520,
544       "html_filename": "Observable.html",
545       "href": "Observable.html#Ext-util-Observable-method-relayEvents",
546       "shortDoc": "<p>Relays selected events from the specified Observable as if the events were fired by <code><b>this</b></code>.</p>\n"
547     },
548     {
549       "tagname": "method",
550       "name": "releaseCapture",
551       "member": "Ext.util.Observable",
552       "doc": "<p>Removes <b>all</b> added captures from the Observable.</p>\n",
553       "params": [
554         {
555           "type": "Observable",
556           "name": "o",
557           "doc": "<p>The Observable to release</p>\n",
558           "optional": false
559         }
560       ],
561       "return": {
562         "type": "void",
563         "doc": "\n"
564       },
565       "private": false,
566       "static": true,
567       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
568       "linenr": 46,
569       "html_filename": "Observable.html",
570       "href": "Observable.html#Ext-util-Observable-method-releaseCapture",
571       "shortDoc": "<p>Removes <b>all</b> added captures from the Observable.</p>\n"
572     },
573     {
574       "tagname": "method",
575       "name": "removeListener",
576       "member": "Ext.util.Observable",
577       "doc": "<p>Removes an event handler.</p>\n",
578       "params": [
579         {
580           "type": "String",
581           "name": "eventName",
582           "doc": "<p>The type of event the handler was associated with.</p>\n",
583           "optional": false
584         },
585         {
586           "type": "Function",
587           "name": "handler",
588           "doc": "<p>The handler to remove. <b>This must be a reference to the function passed into the <a href=\"#/api/Ext.Ajax-method-addListener\" rel=\"Ext.Ajax-method-addListener\" class=\"docClass\">addListener</a> call.</b></p>\n",
589           "optional": false
590         },
591         {
592           "type": "Object",
593           "name": "scope",
594           "doc": "<p>(optional) The scope originally specified for the handler.</p>\n",
595           "optional": true
596         }
597       ],
598       "return": {
599         "type": "void",
600         "doc": "\n"
601       },
602       "private": false,
603       "static": false,
604       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
605       "linenr": 352,
606       "html_filename": "Observable.html",
607       "href": "Observable.html#Ext-util-Observable-method-removeListener",
608       "shortDoc": "<p>Removes an event handler.</p>\n"
609     },
610     {
611       "tagname": "method",
612       "name": "removeManagedListener",
613       "member": "Ext.util.Observable",
614       "doc": "<p>Removes listeners that were added by the <a href=\"#/api/Ext.Ajax--mon\" rel=\"Ext.Ajax--mon\" class=\"docClass\">mon</a> method.</p>\n",
615       "params": [
616         {
617           "type": "Observable|Element",
618           "name": "item",
619           "doc": "<p>The item from which to remove a listener/listeners.</p>\n",
620           "optional": false
621         },
622         {
623           "type": "Object|String",
624           "name": "ename",
625           "doc": "<p>The event name, or an object containing event name properties.</p>\n",
626           "optional": false
627         },
628         {
629           "type": "Function",
630           "name": "fn",
631           "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this\nis the handler function.</p>\n",
632           "optional": false
633         },
634         {
635           "type": "Object",
636           "name": "scope",
637           "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",
638           "optional": false
639         }
640       ],
641       "return": {
642         "type": "void",
643         "doc": "\n"
644       },
645       "private": false,
646       "static": false,
647       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
648       "linenr": 196,
649       "html_filename": "Observable.html",
650       "href": "Observable.html#Ext-util-Observable-method-removeManagedListener",
651       "shortDoc": "<p>Removes listeners that were added by the <a href=\"#/api/Ext.Ajax--mon\" rel=\"Ext.Ajax--mon\" class=\"docClass\">mon</a> method.</p>\n"
652     },
653     {
654       "tagname": "method",
655       "name": "request",
656       "member": "Ext.data.Connection",
657       "doc": "<p>Sends an HTTP request to a remote server.</p>\n\n\n<p><b>Important:</b> Ajax server requests are asynchronous, and this call will\nreturn before the response has been received. Process any returned data\nin a callback function.</p>\n\n\n<pre><code>Ext.Ajax.request({\nurl: 'ajax_demo/sample.json',\nsuccess: function(response, opts) {\n  var obj = Ext.decode(response.responseText);\n  console.dir(obj);\n},\nfailure: function(response, opts) {\n  console.log('server-side failure with status code ' + response.status);\n}\n});\n</code></pre>\n\n\n<p>To execute a callback function in the correct scope, use the <tt>scope</tt> option.</p>\n\n",
658       "params": [
659         {
660           "type": "Object",
661           "name": "options",
662           "doc": "<p>An object which may contain the following properties:<ul>\n<li><b>url</b> : String/Function (Optional)<div class=\"sub-desc\">The URL to\nwhich to send the request, or a function to call which returns a URL string. The scope of the\nfunction is specified by the <tt>scope</tt> option. Defaults to the configured\n<tt><a href=\"#/api/Ext.Ajax-property-url\" rel=\"Ext.Ajax-property-url\" class=\"docClass\">url</a></tt>.</div></li>\n<li><b>params</b> : Object/String/Function (Optional)<div class=\"sub-desc\">\nAn object containing properties which are used as parameters to the\nrequest, a url encoded string or a function to call to get either. The scope of the function\nis specified by the <tt>scope</tt> option.</div></li>\n<li><b>method</b> : String (Optional)<div class=\"sub-desc\">The HTTP method to use\nfor the request. Defaults to the configured method, or if no method was configured,\n\"GET\" if no parameters are being sent, and \"POST\" if parameters are being sent.  Note that\nthe method name is case-sensitive and should be all caps.</div></li>\n<li><b>callback</b> : Function (Optional)<div class=\"sub-desc\">The\nfunction to be called upon receipt of the HTTP response. The callback is\ncalled regardless of success or failure and is passed the following\nparameters:<ul>\n<li><b>options</b> : Object<div class=\"sub-desc\">The parameter to the request call.</div></li>\n<li><b>success</b> : Boolean<div class=\"sub-desc\">True if the request succeeded.</div></li>\n<li><b>response</b> : Object<div class=\"sub-desc\">The XMLHttpRequest object containing the response data.\nSee <a href=\"http://www.w3.org/TR/XMLHttpRequest/\">http://www.w3.org/TR/XMLHttpRequest/</a> for details about\naccessing elements of the response.</div></li>\n</ul></div></li>\n<li><a id=\"request-option-success\"></a><b>success</b> : Function (Optional)<div class=\"sub-desc\">The function\nto be called upon success of the request. The callback is passed the following\nparameters:<ul>\n<li><b>response</b> : Object<div class=\"sub-desc\">The XMLHttpRequest object containing the response data.</div></li>\n<li><b>options</b> : Object<div class=\"sub-desc\">The parameter to the request call.</div></li>\n</ul></div></li>\n<li><b>failure</b> : Function (Optional)<div class=\"sub-desc\">The function\nto be called upon failure of the request. The callback is passed the\nfollowing parameters:<ul>\n<li><b>response</b> : Object<div class=\"sub-desc\">The XMLHttpRequest object containing the response data.</div></li>\n<li><b>options</b> : Object<div class=\"sub-desc\">The parameter to the request call.</div></li>\n</ul></div></li>\n<li><b>scope</b> : Object (Optional)<div class=\"sub-desc\">The scope in\nwhich to execute the callbacks: The \"this\" object for the callback function. If the <tt>url</tt>, or <tt>params</tt> options were\nspecified as functions from which to draw values, then this also serves as the scope for those function calls.\nDefaults to the browser window.</div></li>\n<li><b>timeout</b> : Number (Optional)<div class=\"sub-desc\">The timeout in milliseconds to be used for this request. Defaults to 30 seconds.</div></li>\n<li><b>form</b> : Element/HTMLElement/String (Optional)<div class=\"sub-desc\">The <tt>&lt;form&gt;</tt>\nElement or the id of the <tt>&lt;form&gt;</tt> to pull parameters from.</div></li>\n<li><a id=\"request-option-isUpload\"></a><b>isUpload</b> : Boolean (Optional)<div class=\"sub-desc\"><b>Only meaningful when used\nwith the <tt>form</tt> option</b>.</p>\n\n<p>True if the form object is a file upload (will be set automatically if the form was\nconfigured with <b><tt>enctype</tt></b> \"multipart/form-data\").</p>\n\n\n<p>File uploads are not performed using normal \"Ajax\" techniques, that is they are <b>not</b>\nperformed using XMLHttpRequests. Instead the form is submitted in the standard manner with the\nDOM <tt>&lt;form></tt> element temporarily modified to have its\n<a href=\"http://www.w3.org/TR/REC-html40/present/frames.html#adef-target\">target</a> set to refer\nto a dynamically generated, hidden <tt>&lt;iframe></tt> which is inserted into the document\nbut removed after the return data has been gathered.</p>\n\n\n<p>The server response is parsed by the browser to create the document for the IFRAME. If the\nserver is using JSON to send the return object, then the\n<a href=\"http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17\">Content-Type</a> header\nmust be set to \"text/html\" in order to tell the browser to insert the text unchanged into the document body.</p>\n\n\n<p>The response text is retrieved from the document, and a fake XMLHttpRequest object\nis created containing a <tt>responseText</tt> property in order to conform to the\nrequirements of event handlers and callbacks.</p>\n\n\n<p>Be aware that file upload packets are sent with the content type <a href=\"http://www.faqs.org/rfcs/rfc2388.html\">multipart/form</a>\nand some server technologies (notably JEE) may require some custom processing in order to\nretrieve parameter names and parameter values from the packet content.</p>\n\n\n<p></div></li>\n<li><b>headers</b> : Object (Optional)<div class=\"sub-desc\">Request\nheaders to set for the request.</div></li>\n<li><b>xmlData</b> : Object (Optional)<div class=\"sub-desc\">XML document\nto use for the post. Note: This will be used instead of params for the post\ndata. Any params will be appended to the URL.</div></li>\n<li><b>jsonData</b> : Object/String (Optional)<div class=\"sub-desc\">JSON\ndata to use as the post. Note: This will be used instead of params for the post\ndata. Any params will be appended to the URL.</div></li>\n<li><b>disableCaching</b> : Boolean (Optional)<div class=\"sub-desc\">True\nto add a unique cache-buster param to GET requests.</div></li>\n</ul></p></p>\n\n<p>The options object may also contain any other property which might be needed to perform\npostprocessing in a callback because it is passed to callback functions.</p>\n\n",
663           "optional": false
664         }
665       ],
666       "return": {
667         "type": "Object",
668         "doc": "<p>request The request object. This may be used\nto cancel the request.</p>\n"
669       },
670       "private": false,
671       "static": false,
672       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/Connection.js",
673       "linenr": 112,
674       "html_filename": "Connection.html",
675       "href": "Connection.html#Ext-data-Connection-method-request",
676       "shortDoc": "Sends an HTTP request to a remote server.\n\n\nImportant: Ajax server requests are asynchronous, and this call will\nretu..."
677     },
678     {
679       "tagname": "method",
680       "name": "resumeEvents",
681       "member": "Ext.util.Observable",
682       "doc": "<p>Resume firing events. (see <a href=\"#/api/Ext.Ajax-method-suspendEvents\" rel=\"Ext.Ajax-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",
683       "params": [
684
685       ],
686       "return": {
687         "type": "void",
688         "doc": "\n"
689       },
690       "private": false,
691       "static": false,
692       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
693       "linenr": 502,
694       "html_filename": "Observable.html",
695       "href": "Observable.html#Ext-util-Observable-method-resumeEvents",
696       "shortDoc": "Resume firing events. (see suspendEvents)\nIf events were suspended using the queueSuspended parameter, then all\nevent..."
697     },
698     {
699       "tagname": "method",
700       "name": "setOptions",
701       "member": "Ext.data.Connection",
702       "doc": "<p>Set various options such as the url, params for the request</p>\n",
703       "params": [
704         {
705           "type": "Object",
706           "name": "options",
707           "doc": "<p>The initial options</p>\n",
708           "optional": false
709         },
710         {
711           "type": "Object",
712           "name": "scope",
713           "doc": "<p>The scope to execute in</p>\n",
714           "optional": false
715         }
716       ],
717       "return": {
718         "type": "Object",
719         "doc": "<p>The params for the request</p>\n"
720       },
721       "private": false,
722       "static": false,
723       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/Connection.js",
724       "linenr": 409,
725       "html_filename": "Connection.html",
726       "href": "Connection.html#Ext-data-Connection-method-setOptions",
727       "shortDoc": "<p>Set various options such as the url, params for the request</p>\n"
728     },
729     {
730       "tagname": "method",
731       "name": "suspendEvents",
732       "member": "Ext.util.Observable",
733       "doc": "<p>Suspend the firing of all events. (see <a href=\"#/api/Ext.Ajax-method-resumeEvents\" rel=\"Ext.Ajax-method-resumeEvents\" class=\"docClass\">resumeEvents</a>)</p>\n",
734       "params": [
735         {
736           "type": "Boolean",
737           "name": "queueSuspended",
738           "doc": "<p>Pass as true to queue up suspended events to be fired\nafter the <a href=\"#/api/Ext.Ajax-method-resumeEvents\" rel=\"Ext.Ajax-method-resumeEvents\" class=\"docClass\">resumeEvents</a> call instead of discarding all suspended events;</p>\n",
739           "optional": false
740         }
741       ],
742       "return": {
743         "type": "void",
744         "doc": "\n"
745       },
746       "private": false,
747       "static": false,
748       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
749       "linenr": 490,
750       "html_filename": "Observable.html",
751       "href": "Observable.html#Ext-util-Observable-method-suspendEvents",
752       "shortDoc": "<p>Suspend the firing of all events. (see <a href=\"#/api/Ext.Ajax-method-resumeEvents\" rel=\"Ext.Ajax-method-resumeEvents\" class=\"docClass\">resumeEvents</a>)</p>\n"
753     },
754     {
755       "tagname": "method",
756       "name": "un",
757       "member": "Ext.util.Observable",
758       "doc": "<p>Removes an event handler (shorthand for <a href=\"#/api/Ext.Ajax-method-removeListener\" rel=\"Ext.Ajax-method-removeListener\" class=\"docClass\">removeListener</a>.)</p>\n",
759       "params": [
760         {
761           "type": "String",
762           "name": "eventName",
763           "doc": "<p>The type of event the handler was associated with.</p>\n",
764           "optional": false
765         },
766         {
767           "type": "Function",
768           "name": "handler",
769           "doc": "<p>The handler to remove. <b>This must be a reference to the function passed into the <a href=\"#/api/Ext.Ajax-method-addListener\" rel=\"Ext.Ajax-method-addListener\" class=\"docClass\">addListener</a> call.</b></p>\n",
770           "optional": false
771         },
772         {
773           "type": "Object",
774           "name": "scope",
775           "doc": "<p>(optional) The scope originally specified for the handler.</p>\n",
776           "optional": true
777         }
778       ],
779       "return": {
780         "type": "void",
781         "doc": "\n"
782       },
783       "private": false,
784       "static": false,
785       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
786       "linenr": 608,
787       "html_filename": "Observable.html",
788       "href": "Observable.html#Ext-util-Observable-method-un",
789       "shortDoc": "<p>Removes an event handler (shorthand for <a href=\"#/api/Ext.Ajax-method-removeListener\" rel=\"Ext.Ajax-method-removeListener\" class=\"docClass\">removeListener</a>.)</p>\n"
790     },
791     {
792       "tagname": "method",
793       "name": "upload",
794       "member": "Ext.data.Connection",
795       "doc": "<p>Upload a form using a hidden iframe.</p>\n",
796       "params": [
797         {
798           "type": "Mixed",
799           "name": "form",
800           "doc": "<p>The form to upload</p>\n",
801           "optional": false
802         },
803         {
804           "type": "String",
805           "name": "url",
806           "doc": "<p>The url to post to</p>\n",
807           "optional": false
808         },
809         {
810           "type": "String",
811           "name": "params",
812           "doc": "<p>Any extra parameters to pass</p>\n",
813           "optional": false
814         },
815         {
816           "type": "Object",
817           "name": "options",
818           "doc": "<p>The initial options</p>\n",
819           "optional": false
820         }
821       ],
822       "return": {
823         "type": "void",
824         "doc": "\n"
825       },
826       "private": false,
827       "static": false,
828       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/Connection.js",
829       "linenr": 280,
830       "html_filename": "Connection.html",
831       "href": "Connection.html#Ext-data-Connection-method-upload",
832       "shortDoc": "<p>Upload a form using a hidden iframe.</p>\n"
833     }
834   ],
835   "property": [
836     {
837       "tagname": "property",
838       "name": "autoAbort",
839       "member": "Ext.Ajax",
840       "type": "Boolean",
841       "doc": "<p>Whether a new request should abort any pending requests. (defaults to false)</p>\n",
842       "private": false,
843       "static": false,
844       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/Ajax.js",
845       "linenr": 106,
846       "html_filename": "Ajax.html",
847       "href": "Ajax.html#Ext-Ajax-property-autoAbort"
848     },
849     {
850       "tagname": "property",
851       "name": "defaultHeaders",
852       "member": "Ext.Ajax",
853       "type": "Object",
854       "doc": "<p>An object containing request headers which are added to each request made by this object\n(defaults to undefined).</p>\n",
855       "private": false,
856       "static": false,
857       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/Ajax.js",
858       "linenr": 87,
859       "html_filename": "Ajax.html",
860       "href": "Ajax.html#Ext-Ajax-property-defaultHeaders"
861     },
862     {
863       "tagname": "property",
864       "name": "disableCaching",
865       "member": "Ext.Ajax",
866       "type": "Boolean",
867       "doc": "<p>True to add a unique cache-buster param to GET requests. (defaults to true)</p>\n",
868       "private": false,
869       "static": false,
870       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/Ajax.js",
871       "linenr": 68,
872       "html_filename": "Ajax.html",
873       "href": "Ajax.html#Ext-Ajax-property-disableCaching"
874     },
875     {
876       "tagname": "property",
877       "name": "extraParams",
878       "member": "Ext.Ajax",
879       "type": "Object",
880       "doc": "<p>An object containing properties which are used as extra parameters to each request made\nby this object (defaults to undefined). Session information and other data that you need\nto pass with each request are commonly put here.</p>\n",
881       "private": false,
882       "static": false,
883       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/Ajax.js",
884       "linenr": 80,
885       "html_filename": "Ajax.html",
886       "href": "Ajax.html#Ext-Ajax-property-extraParams",
887       "shortDoc": "An object containing properties which are used as extra parameters to each request made\nby this object (defaults to u..."
888     },
889     {
890       "tagname": "property",
891       "name": "method",
892       "member": "Ext.Ajax",
893       "type": "String",
894       "doc": "<p>The default HTTP method to be used for requests. Note that this is case-sensitive and\nshould be all caps (defaults to undefined; if not set but params are present will use\n<tt>\"POST\"</tt>, otherwise will use <tt>\"GET\"</tt>.)</p>\n",
895       "private": false,
896       "static": false,
897       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/Ajax.js",
898       "linenr": 93,
899       "html_filename": "Ajax.html",
900       "href": "Ajax.html#Ext-Ajax-property-method",
901       "shortDoc": "The default HTTP method to be used for requests. Note that this is case-sensitive and\nshould be all caps (defaults to..."
902     },
903     {
904       "tagname": "property",
905       "name": "timeout",
906       "member": "Ext.Ajax",
907       "type": "Number",
908       "doc": "<p>The timeout in milliseconds to be used for requests. (defaults to 30000)</p>\n",
909       "private": false,
910       "static": false,
911       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/Ajax.js",
912       "linenr": 100,
913       "html_filename": "Ajax.html",
914       "href": "Ajax.html#Ext-Ajax-property-timeout"
915     },
916     {
917       "tagname": "property",
918       "name": "url",
919       "member": "Ext.Ajax",
920       "type": "String",
921       "doc": "<p>The default URL to be used for requests to the server. (defaults to undefined)\nIf the server receives all requests through one URL, setting this once is easier than\nentering it on every request.</p>\n",
922       "private": false,
923       "static": false,
924       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/Ajax.js",
925       "linenr": 73,
926       "html_filename": "Ajax.html",
927       "href": "Ajax.html#Ext-Ajax-property-url",
928       "shortDoc": "The default URL to be used for requests to the server. (defaults to undefined)\nIf the server receives all requests th..."
929     }
930   ],
931   "event": [
932     {
933       "tagname": "event",
934       "name": "beforerequest",
935       "member": "Ext.data.Connection",
936       "doc": "<p>Fires before a network request is made to retrieve a data object.</p>\n",
937       "params": [
938         {
939           "type": "Connection",
940           "name": "conn",
941           "doc": "<p>This Connection object.</p>\n",
942           "optional": false
943         },
944         {
945           "type": "Object",
946           "name": "options",
947           "doc": "<p>The options config object passed to the <a href=\"#/api/Ext.Ajax-method-request\" rel=\"Ext.Ajax-method-request\" class=\"docClass\">request</a> method.</p>\n",
948           "optional": false
949         }
950       ],
951       "private": false,
952       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/Connection.js",
953       "linenr": 78,
954       "html_filename": "Connection.html",
955       "href": "Connection.html#Ext-data-Connection-event-beforerequest",
956       "shortDoc": "<p>Fires before a network request is made to retrieve a data object.</p>\n"
957     },
958     {
959       "tagname": "event",
960       "name": "requestcomplete",
961       "member": "Ext.data.Connection",
962       "doc": "<p>Fires if the request was successfully completed.</p>\n",
963       "params": [
964         {
965           "type": "Connection",
966           "name": "conn",
967           "doc": "<p>This Connection object.</p>\n",
968           "optional": false
969         },
970         {
971           "type": "Object",
972           "name": "response",
973           "doc": "<p>The XHR object containing the response data.\nSee <a href=\"http://www.w3.org/TR/XMLHttpRequest/\">The XMLHttpRequest Object</a>\nfor details.</p>\n",
974           "optional": false
975         },
976         {
977           "type": "Object",
978           "name": "options",
979           "doc": "<p>The options config object passed to the <a href=\"#/api/Ext.Ajax-method-request\" rel=\"Ext.Ajax-method-request\" class=\"docClass\">request</a> method.</p>\n",
980           "optional": false
981         }
982       ],
983       "private": false,
984       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/Connection.js",
985       "linenr": 85,
986       "html_filename": "Connection.html",
987       "href": "Connection.html#Ext-data-Connection-event-requestcomplete",
988       "shortDoc": "<p>Fires if the request was successfully completed.</p>\n"
989     },
990     {
991       "tagname": "event",
992       "name": "requestexception",
993       "member": "Ext.data.Connection",
994       "doc": "<p>Fires if an error HTTP status was returned from the server.\nSee <a href=\"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html\">HTTP Status Code Definitions</a>\nfor details of HTTP status codes.</p>\n",
995       "params": [
996         {
997           "type": "Connection",
998           "name": "conn",
999           "doc": "<p>This Connection object.</p>\n",
1000           "optional": false
1001         },
1002         {
1003           "type": "Object",
1004           "name": "response",
1005           "doc": "<p>The XHR object containing the response data.\nSee <a href=\"http://www.w3.org/TR/XMLHttpRequest/\">The XMLHttpRequest Object</a>\nfor details.</p>\n",
1006           "optional": false
1007         },
1008         {
1009           "type": "Object",
1010           "name": "options",
1011           "doc": "<p>The options config object passed to the <a href=\"#/api/Ext.Ajax-method-request\" rel=\"Ext.Ajax-method-request\" class=\"docClass\">request</a> method.</p>\n",
1012           "optional": false
1013         }
1014       ],
1015       "private": false,
1016       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/Connection.js",
1017       "linenr": 95,
1018       "html_filename": "Connection.html",
1019       "href": "Connection.html#Ext-data-Connection-event-requestexception",
1020       "shortDoc": "Fires if an error HTTP status was returned from the server.\nSee HTTP Status Code Definitions\nfor details of HTTP stat..."
1021     }
1022   ],
1023   "filename": "/Users/nick/Projects/sencha/SDK/platform/src/Ajax.js",
1024   "linenr": 1,
1025   "html_filename": "Ajax.html",
1026   "href": "Ajax.html#Ext-Ajax",
1027   "cssVar": [
1028
1029   ],
1030   "cssMixin": [
1031
1032   ],
1033   "component": false,
1034   "superclasses": [
1035     "Ext.data.Connection"
1036   ],
1037   "subclasses": [
1038
1039   ],
1040   "mixedInto": [
1041
1042   ],
1043   "allMixins": [
1044     "Ext.util.Observable"
1045   ]
1046 });