Upgrade to ExtJS 4.0.1 - Released 05/18/2011
[extjs.git] / docs / output / Ext.data.proxy.Ajax.js
1 Ext.data.JsonP.Ext_data_proxy_Ajax({
2   "tagname": "class",
3   "name": "Ext.data.proxy.Ajax",
4   "doc": "<p>AjaxProxy is one of the most widely-used ways of getting data into your application. It uses AJAX requests to \nload data from the server, usually to be placed into a <a href=\"#/api/Ext.data.Store\" rel=\"Ext.data.Store\" class=\"docClass\">Store</a>. Let's take a look at a typical\nsetup. Here we're going to set up a Store that has an AjaxProxy. To prepare, we'll also set up a \n<a href=\"#/api/Ext.data.Model\" rel=\"Ext.data.Model\" class=\"docClass\">Model</a>:</p>\n\n\n\n\n<pre><code>Ext.define('User', {\n    extend: 'Ext.data.Model',\n    fields: ['id', 'name', 'email']\n});\n\n//The Store contains the AjaxProxy as an inline configuration\nvar store = new Ext.data.Store({\n    model: 'User',\n    proxy: {\n        type: 'ajax',\n        url : 'users.json'\n    }\n});\n\nstore.load();\n</code></pre>\n\n\n\n\n<p>Our example is going to load user data into a Store, so we start off by defining a <a href=\"#/api/Ext.data.Model\" rel=\"Ext.data.Model\" class=\"docClass\">Model</a>\nwith the fields that we expect the server to return. Next we set up the Store itself, along with a <a href=\"#/api/Ext.data.proxy.Ajax--proxy\" rel=\"Ext.data.proxy.Ajax--proxy\" class=\"docClass\">proxy</a>\nconfiguration. This configuration was automatically turned into an <a href=\"#/api/Ext.data.proxy.Ajax\" rel=\"Ext.data.proxy.Ajax\" class=\"docClass\">Ext.data.proxy.Ajax</a> instance, with the url we\nspecified being passed into AjaxProxy's constructor. It's as if we'd done this:</p>\n\n\n\n\n<pre><code>new Ext.data.proxy.Ajax({\n    url: 'users.json',\n    model: 'User',\n    reader: 'json'\n});\n</code></pre>\n\n\n\n\n<p>A couple of extra configurations appeared here - <a href=\"#/api/Ext.data.proxy.Ajax-cfg-model\" rel=\"Ext.data.proxy.Ajax-cfg-model\" class=\"docClass\">model</a> and <a href=\"#/api/Ext.data.proxy.Ajax-cfg-reader\" rel=\"Ext.data.proxy.Ajax-cfg-reader\" class=\"docClass\">reader</a>. These are set by default \nwhen we create the proxy via the Store - the Store already knows about the Model, and Proxy's default \n<a href=\"#/api/Ext.data.reader.Reader\" rel=\"Ext.data.reader.Reader\" class=\"docClass\">Reader</a> is <a href=\"#/api/Ext.data.reader.Json\" rel=\"Ext.data.reader.Json\" class=\"docClass\">JsonReader</a>.</p>\n\n\n\n\n<p>Now when we call store.load(), the AjaxProxy springs into action, making a request to the url we configured\n('users.json' in this case). As we're performing a read, it sends a GET request to that url (see <a href=\"#/api/Ext.data.proxy.Ajax-property-actionMethods\" rel=\"Ext.data.proxy.Ajax-property-actionMethods\" class=\"docClass\">actionMethods</a>\nto customize this - by default any kind of read will be sent as a GET request and any kind of write will be sent as a\nPOST request).</p>\n\n\n\n\n<p><u>Limitations</u></p>\n\n\n\n\n<p>AjaxProxy cannot be used to retrieve data from other domains. If your application is running on http://domainA.com\nit cannot load data from http://domainB.com because browsers have a built-in security policy that prohibits domains\ntalking to each other via AJAX.</p>\n\n\n\n\n<p>If you need to read data from another domain and can't set up a proxy server (some software that runs on your own\ndomain's web server and transparently forwards requests to http://domainB.com, making it look like they actually came\nfrom http://domainA.com), you can use <a href=\"#/api/Ext.data.proxy.JsonP\" rel=\"Ext.data.proxy.JsonP\" class=\"docClass\">Ext.data.proxy.JsonP</a> and a technique known as JSON-P (JSON with \nPadding), which can help you get around the problem so long as the server on http://domainB.com is set up to support\nJSON-P responses. See <a href=\"#/api/Ext.data.proxy.JsonP\" rel=\"Ext.data.proxy.JsonP\" class=\"docClass\">JsonPProxy</a>'s introduction docs for more details.</p>\n\n\n\n\n<p><u>Readers and Writers</u></p>\n\n\n\n\n<p>AjaxProxy can be configured to use any type of <a href=\"#/api/Ext.data.reader.Reader\" rel=\"Ext.data.reader.Reader\" class=\"docClass\">Reader</a> to decode the server's response. If\nno Reader is supplied, AjaxProxy will default to using a <a href=\"#/api/Ext.data.reader.Json\" rel=\"Ext.data.reader.Json\" class=\"docClass\">JsonReader</a>. Reader configuration\ncan be passed in as a simple object, which the Proxy automatically turns into a <a href=\"#/api/Ext.data.reader.Reader\" rel=\"Ext.data.reader.Reader\" class=\"docClass\">Reader</a>\ninstance:</p>\n\n\n\n\n<pre><code>var proxy = new Ext.data.proxy.Ajax({\n    model: 'User',\n    reader: {\n        type: 'xml',\n        root: 'users'\n    }\n});\n\nproxy.getReader(); //returns an <a href=\"#/api/Ext.data.reader.Xml\" rel=\"Ext.data.reader.Xml\" class=\"docClass\">XmlReader</a> instance based on the config we supplied\n</code></pre>\n\n\n\n\n<p><u>Url generation</u></p>\n\n\n\n\n<p>AjaxProxy automatically inserts any sorting, filtering, paging and grouping options into the url it generates for\neach request. These are controlled with the following configuration options:</p>\n\n\n\n\n<ul style=\"list-style-type: disc; padding-left: 20px;\">\n    <li><a href=\"#/api/Ext.data.proxy.Ajax-cfg-pageParam\" rel=\"Ext.data.proxy.Ajax-cfg-pageParam\" class=\"docClass\">pageParam</a> - controls how the page number is sent to the server \n    (see also <a href=\"#/api/Ext.data.proxy.Ajax-cfg-startParam\" rel=\"Ext.data.proxy.Ajax-cfg-startParam\" class=\"docClass\">startParam</a> and <a href=\"#/api/Ext.data.proxy.Ajax-cfg-limitParam\" rel=\"Ext.data.proxy.Ajax-cfg-limitParam\" class=\"docClass\">limitParam</a>)</li>\n    <li><a href=\"#/api/Ext.data.proxy.Ajax-cfg-sortParam\" rel=\"Ext.data.proxy.Ajax-cfg-sortParam\" class=\"docClass\">sortParam</a> - controls how sort information is sent to the server</li>\n    <li><a href=\"#/api/Ext.data.proxy.Ajax-cfg-groupParam\" rel=\"Ext.data.proxy.Ajax-cfg-groupParam\" class=\"docClass\">groupParam</a> - controls how grouping information is sent to the server</li>\n    <li><a href=\"#/api/Ext.data.proxy.Ajax-cfg-filterParam\" rel=\"Ext.data.proxy.Ajax-cfg-filterParam\" class=\"docClass\">filterParam</a> - controls how filter information is sent to the server</li>\n</ul>\n\n\n\n\n<p>Each request sent by AjaxProxy is described by an <a href=\"#/api/Ext.data.Operation\" rel=\"Ext.data.Operation\" class=\"docClass\">Operation</a>. To see how we can \ncustomize the generated urls, let's say we're loading the Proxy with the following Operation:</p>\n\n\n\n\n<pre><code>var operation = new Ext.data.Operation({\n    action: 'read',\n    page  : 2\n});\n</code></pre>\n\n\n\n\n<p>Now we'll issue the request for this Operation by calling <a href=\"#/api/Ext.data.proxy.Ajax-method-read\" rel=\"Ext.data.proxy.Ajax-method-read\" class=\"docClass\">read</a>:</p>\n\n\n\n\n<pre><code>var proxy = new Ext.data.proxy.Ajax({\n    url: '/users'\n});\n\nproxy.read(operation); //GET /users?page=2\n</code></pre>\n\n\n\n\n<p>Easy enough - the Proxy just copied the page property from the Operation. We can customize how this page data is\nsent to the server:</p>\n\n\n\n\n<pre><code>var proxy = new Ext.data.proxy.Ajax({\n    url: '/users',\n    pagePage: 'pageNumber'\n});\n\nproxy.read(operation); //GET /users?pageNumber=2\n</code></pre>\n\n\n\n\n<p>Alternatively, our Operation could have been configured to send start and limit parameters instead of page:</p>\n\n\n\n\n<pre><code>var operation = new Ext.data.Operation({\n    action: 'read',\n    start : 50,\n    limit : 25\n});\n\nvar proxy = new Ext.data.proxy.Ajax({\n    url: '/users'\n});\n\nproxy.read(operation); //GET /users?start=50&limit=25\n</code></pre>\n\n\n\n\n<p>Again we can customize this url:</p>\n\n\n\n\n<pre><code>var proxy = new Ext.data.proxy.Ajax({\n    url: '/users',\n    startParam: 'startIndex',\n    limitParam: 'limitIndex'\n});\n\nproxy.read(operation); //GET /users?startIndex=50&limitIndex=25\n</code></pre>\n\n\n\n\n<p>AjaxProxy will also send sort and filter information to the server. Let's take a look at how this looks with a\nmore expressive Operation object:</p>\n\n\n\n\n<pre><code>var operation = new Ext.data.Operation({\n    action: 'read',\n    sorters: [\n        new Ext.util.Sorter({\n            property : 'name',\n            direction: 'ASC'\n        }),\n        new Ext.util.Sorter({\n            property : 'age',\n            direction: 'DESC'\n        })\n    ],\n    filters: [\n        new Ext.util.Filter({\n            property: 'eyeColor',\n            value   : 'brown'\n        })\n    ]\n});\n</code></pre>\n\n\n\n\n<p>This is the type of object that is generated internally when loading a <a href=\"#/api/Ext.data.Store\" rel=\"Ext.data.Store\" class=\"docClass\">Store</a> with sorters\nand filters defined. By default the AjaxProxy will JSON encode the sorters and filters, resulting in something like\nthis (note that the url is escaped before sending the request, but is left unescaped here for clarity):</p>\n\n\n\n\n<pre><code>var proxy = new Ext.data.proxy.Ajax({\n    url: '/users'\n});\n\nproxy.read(operation); //GET /users?sort=[{\"property\":\"name\",\"direction\":\"ASC\"},{\"property\":\"age\",\"direction\":\"DESC\"}]&filter=[{\"property\":\"eyeColor\",\"value\":\"brown\"}]\n</code></pre>\n\n\n\n\n<p>We can again customize how this is created by supplying a few configuration options. Let's say our server is set \nup to receive sorting information is a format like \"sortBy=name#ASC,age#DESC\". We can configure AjaxProxy to provide\nthat format like this:</p>\n\n\n\n\n<pre><code> var proxy = new Ext.data.proxy.Ajax({\n     url: '/users',\n     sortParam: 'sortBy',\n     filterParam: 'filterBy',\n\n     //our custom implementation of sorter encoding - turns our sorters into \"name#ASC,age#DESC\"\n     encodeSorters: function(sorters) {\n         var length   = sorters.length,\n             sortStrs = [],\n             sorter, i;\n\n         for (i = 0; i < length; i++) {\n             sorter = sorters[i];\n\n             sortStrs[i] = sorter.property + '#' + sorter.direction\n         }\n\n         return sortStrs.join(\",\");\n     }\n });\n\n proxy.read(operation); //GET /users?sortBy=name#ASC,age#DESC&filterBy=[{\"property\":\"eyeColor\",\"value\":\"brown\"}]\n </code></pre>\n\n\n\n\n<p>We can also provide a custom <a href=\"#/api/Ext.data.proxy.Ajax-method-encodeFilters\" rel=\"Ext.data.proxy.Ajax-method-encodeFilters\" class=\"docClass\">encodeFilters</a> function to encode our filters.</p>\n\n",
5   "extends": "Ext.data.proxy.Server",
6   "mixins": [
7
8   ],
9   "alternateClassNames": [
10     "Ext.data.HttpProxy",
11     "Ext.data.AjaxProxy"
12   ],
13   "xtype": null,
14   "author": "Ed Spencer",
15   "docauthor": null,
16   "singleton": false,
17   "private": false,
18   "cfg": [
19     {
20       "tagname": "cfg",
21       "name": "api",
22       "member": "Ext.data.proxy.Server",
23       "type": "Object",
24       "doc": "<p>Specific urls to call on CRUD action methods \"read\", \"create\", \"update\" and \"destroy\".\nDefaults to:</p>\n\n<pre><code>api: {\n    read    : undefined,\n    create  : undefined,\n    update  : undefined,\n    destroy : undefined\n}\n</code></pre>\n\n\n<p>The url is built based upon the action being executed <tt>[load|create|save|destroy]</tt>\nusing the commensurate <tt><a href=\"#/api/Ext.data.proxy.Ajax-cfg-api\" rel=\"Ext.data.proxy.Ajax-cfg-api\" class=\"docClass\">api</a></tt> property, or if undefined default to the\nconfigured <a href=\"#/api/Ext.data.Store\" rel=\"Ext.data.Store\" class=\"docClass\">Ext.data.Store</a>.<a href=\"#/api/Ext.data.proxy.Server-cfg-url\" rel=\"Ext.data.proxy.Server-cfg-url\" class=\"docClass\">url</a>.</p>\n\n\n<br>\n\n\n<p>For example:</p>\n\n\n<pre><code>api: {\n    load :    '/controller/load',\n    create :  '/controller/new',\n    save :    '/controller/update',\n    destroy : '/controller/destroy_action'\n}\n</code></pre>\n\n\n<p>If the specific URL for a given CRUD action is undefined, the CRUD action request\nwill be directed to the configured <tt><a href=\"#/api/Ext.data.proxy.Server-cfg-url\" rel=\"Ext.data.proxy.Server-cfg-url\" class=\"docClass\">url</a></tt>.</p>\n\n",
25       "private": false,
26       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Server.js",
27       "linenr": 97,
28       "html_filename": "Server.html",
29       "href": "Server.html#Ext-data-proxy-Server-cfg-api",
30       "shortDoc": "Specific urls to call on CRUD action methods \"read\", \"create\", \"update\" and \"destroy\".\nDefaults to:\n\napi: {\n    read ..."
31     },
32     {
33       "tagname": "cfg",
34       "name": "batchActions",
35       "member": "Ext.data.proxy.Proxy",
36       "type": "Boolean",
37       "doc": "<p>True to batch actions of a particular type when synchronizing the store.\nDefaults to <tt>true</tt>.</p>\n",
38       "private": false,
39       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Proxy.js",
40       "linenr": 64,
41       "html_filename": "Proxy2.html",
42       "href": "Proxy2.html#Ext-data-proxy-Proxy-cfg-batchActions"
43     },
44     {
45       "tagname": "cfg",
46       "name": "batchOrder",
47       "member": "Ext.data.proxy.Proxy",
48       "type": "String",
49       "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",
50       "private": false,
51       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Proxy.js",
52       "linenr": 57,
53       "html_filename": "Proxy2.html",
54       "href": "Proxy2.html#Ext-data-proxy-Proxy-cfg-batchOrder",
55       "shortDoc": "Comma-separated ordering 'create', 'update' and 'destroy' actions when batching. Override this\nto set a different ord..."
56     },
57     {
58       "tagname": "cfg",
59       "name": "cacheString",
60       "member": "Ext.data.proxy.Server",
61       "type": "String",
62       "doc": "<p>The name of the cache param added to the url when using noCache (defaults to \"_dc\")</p>\n",
63       "private": false,
64       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Server.js",
65       "linenr": 87,
66       "html_filename": "Server.html",
67       "href": "Server.html#Ext-data-proxy-Server-cfg-cacheString"
68     },
69     {
70       "tagname": "cfg",
71       "name": "directionParam",
72       "member": "Ext.data.proxy.Server",
73       "type": "String",
74       "doc": "<p>The name of the direction parameter to send in a request. <strong>This is only used when simpleSortMode is set to true.</strong>\nDefaults to 'dir'.</p>\n",
75       "private": false,
76       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Server.js",
77       "linenr": 69,
78       "html_filename": "Server.html",
79       "href": "Server.html#Ext-data-proxy-Server-cfg-directionParam",
80       "shortDoc": "The name of the direction parameter to send in a request. This is only used when simpleSortMode is set to true.\nDefau..."
81     },
82     {
83       "tagname": "cfg",
84       "name": "extraParams",
85       "member": "Ext.data.proxy.Server",
86       "type": "Object",
87       "doc": "<p>Extra parameters that will be included on every request. Individual requests with params\nof the same name will override these params when they are in conflict.</p>\n",
88       "private": false,
89       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Server.js",
90       "linenr": 143,
91       "html_filename": "Server.html",
92       "href": "Server.html#Ext-data-proxy-Server-cfg-extraParams",
93       "shortDoc": "Extra parameters that will be included on every request. Individual requests with params\nof the same name will overri..."
94     },
95     {
96       "tagname": "cfg",
97       "name": "filterParam",
98       "member": "Ext.data.proxy.Server",
99       "type": "String",
100       "doc": "<p>The name of the 'filter' parameter to send in a request. Defaults to 'filter'. Set\nthis to undefined if you don't want to send a filter parameter</p>\n",
101       "private": false,
102       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Server.js",
103       "linenr": 63,
104       "html_filename": "Server.html",
105       "href": "Server.html#Ext-data-proxy-Server-cfg-filterParam",
106       "shortDoc": "The name of the 'filter' parameter to send in a request. Defaults to 'filter'. Set\nthis to undefined if you don't wan..."
107     },
108     {
109       "tagname": "cfg",
110       "name": "groupParam",
111       "member": "Ext.data.proxy.Server",
112       "type": "String",
113       "doc": "<p>The name of the 'group' parameter to send in a request. Defaults to 'group'. Set this\nto undefined if you don't want to send a group parameter</p>\n",
114       "private": false,
115       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Server.js",
116       "linenr": 51,
117       "html_filename": "Server.html",
118       "href": "Server.html#Ext-data-proxy-Server-cfg-groupParam",
119       "shortDoc": "The name of the 'group' parameter to send in a request. Defaults to 'group'. Set this\nto undefined if you don't want ..."
120     },
121     {
122       "tagname": "cfg",
123       "name": "headers",
124       "member": "Ext.data.proxy.Ajax",
125       "type": "Object",
126       "doc": "<p>Any headers to add to the Ajax request. Defaults to <tt>undefined</tt>.</p>\n",
127       "private": false,
128       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Ajax.js",
129       "linenr": 252,
130       "html_filename": "Ajax2.html",
131       "href": "Ajax2.html#Ext-data-proxy-Ajax-cfg-headers"
132     },
133     {
134       "tagname": "cfg",
135       "name": "limitParam",
136       "member": "Ext.data.proxy.Server",
137       "type": "String",
138       "doc": "<p>The name of the 'limit' parameter to send in a request. Defaults to 'limit'. Set this\nto undefined if you don't want to send a limit parameter</p>\n",
139       "private": false,
140       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Server.js",
141       "linenr": 45,
142       "html_filename": "Server.html",
143       "href": "Server.html#Ext-data-proxy-Server-cfg-limitParam",
144       "shortDoc": "The name of the 'limit' parameter to send in a request. Defaults to 'limit'. Set this\nto undefined if you don't want ..."
145     },
146     {
147       "tagname": "cfg",
148       "name": "listeners",
149       "member": "Ext.util.Observable",
150       "type": "Object",
151       "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.Ajax-method-addListener\" rel=\"Ext.data.proxy.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",
152       "private": false,
153       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
154       "linenr": 103,
155       "html_filename": "Observable.html",
156       "href": "Observable.html#Ext-util-Observable-cfg-listeners",
157       "shortDoc": "(optional) A config object containing one or more event handlers to be added to this\nobject during initialization.  T..."
158     },
159     {
160       "tagname": "cfg",
161       "name": "model",
162       "member": "Ext.data.proxy.Proxy",
163       "type": "String/Ext.data.Model",
164       "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",
165       "private": false,
166       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Proxy.js",
167       "linenr": 82,
168       "html_filename": "Proxy2.html",
169       "href": "Proxy2.html#Ext-data-proxy-Proxy-cfg-model",
170       "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..."
171     },
172     {
173       "tagname": "cfg",
174       "name": "noCache",
175       "member": "Ext.data.proxy.Server",
176       "type": "Boolean",
177       "doc": "<p>(optional) Defaults to true. Disable caching by adding a unique parameter\nname to the request.</p>\n",
178       "private": false,
179       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Server.js",
180       "linenr": 81,
181       "html_filename": "Server.html",
182       "href": "Server.html#Ext-data-proxy-Server-cfg-noCache"
183     },
184     {
185       "tagname": "cfg",
186       "name": "pageParam",
187       "member": "Ext.data.proxy.Server",
188       "type": "String",
189       "doc": "<p>The name of the 'page' parameter to send in a request. Defaults to 'page'. Set this to\nundefined if you don't want to send a page parameter</p>\n",
190       "private": false,
191       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Server.js",
192       "linenr": 33,
193       "html_filename": "Server.html",
194       "href": "Server.html#Ext-data-proxy-Server-cfg-pageParam",
195       "shortDoc": "The name of the 'page' parameter to send in a request. Defaults to 'page'. Set this to\nundefined if you don't want to..."
196     },
197     {
198       "tagname": "cfg",
199       "name": "reader",
200       "member": "Ext.data.proxy.Server",
201       "type": "Object/String/Ext.data.reader.Reader",
202       "doc": "<p>The <a href=\"#/api/Ext.data.reader.Reader\" rel=\"Ext.data.reader.Reader\" class=\"docClass\">Ext.data.reader.Reader</a> to use to decode the server's response. This can\neither be a Reader instance, a config object or just a valid Reader type name (e.g. 'json', 'xml').</p>\n",
203       "private": false,
204       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Server.js",
205       "linenr": 23,
206       "html_filename": "Server.html",
207       "href": "Server.html#Ext-data-proxy-Server-cfg-reader",
208       "shortDoc": "The Ext.data.reader.Reader to use to decode the server's response. This can\neither be a Reader instance, a config obj..."
209     },
210     {
211       "tagname": "cfg",
212       "name": "simpleSortMode",
213       "member": "Ext.data.proxy.Server",
214       "type": "Boolean",
215       "doc": "<p>Enabling simpleSortMode in conjunction with remoteSort will only send one sort property and a direction when a remote sort is requested.\nThe directionParam and sortParam will be sent with the property name and either 'ASC' or 'DESC'</p>\n",
216       "private": false,
217       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Server.js",
218       "linenr": 75,
219       "html_filename": "Server.html",
220       "href": "Server.html#Ext-data-proxy-Server-cfg-simpleSortMode",
221       "shortDoc": "Enabling simpleSortMode in conjunction with remoteSort will only send one sort property and a direction when a remote..."
222     },
223     {
224       "tagname": "cfg",
225       "name": "sortParam",
226       "member": "Ext.data.proxy.Server",
227       "type": "String",
228       "doc": "<p>The name of the 'sort' parameter to send in a request. Defaults to 'sort'. Set this\nto undefined if you don't want to send a sort parameter</p>\n",
229       "private": false,
230       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Server.js",
231       "linenr": 57,
232       "html_filename": "Server.html",
233       "href": "Server.html#Ext-data-proxy-Server-cfg-sortParam",
234       "shortDoc": "The name of the 'sort' parameter to send in a request. Defaults to 'sort'. Set this\nto undefined if you don't want to..."
235     },
236     {
237       "tagname": "cfg",
238       "name": "startParam",
239       "member": "Ext.data.proxy.Server",
240       "type": "String",
241       "doc": "<p>The name of the 'start' parameter to send in a request. Defaults to 'start'. Set this\nto undefined if you don't want to send a start parameter</p>\n",
242       "private": false,
243       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Server.js",
244       "linenr": 39,
245       "html_filename": "Server.html",
246       "href": "Server.html#Ext-data-proxy-Server-cfg-startParam",
247       "shortDoc": "The name of the 'start' parameter to send in a request. Defaults to 'start'. Set this\nto undefined if you don't want ..."
248     },
249     {
250       "tagname": "cfg",
251       "name": "timeout",
252       "member": "Ext.data.proxy.Server",
253       "type": "Number",
254       "doc": "<p>(optional) The number of milliseconds to wait for a response. Defaults to 30 seconds.</p>\n",
255       "private": false,
256       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Server.js",
257       "linenr": 92,
258       "html_filename": "Server.html",
259       "href": "Server.html#Ext-data-proxy-Server-cfg-timeout"
260     },
261     {
262       "tagname": "cfg",
263       "name": "url",
264       "member": "Ext.data.proxy.Server",
265       "type": "String",
266       "doc": "<p>The URL from which to request the data object.</p>\n",
267       "private": false,
268       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Server.js",
269       "linenr": 19,
270       "html_filename": "Server.html",
271       "href": "Server.html#Ext-data-proxy-Server-cfg-url"
272     },
273     {
274       "tagname": "cfg",
275       "name": "writer",
276       "member": "Ext.data.proxy.Server",
277       "type": "Object/String/Ext.data.writer.Writer",
278       "doc": "<p>The <a href=\"#/api/Ext.data.writer.Writer\" rel=\"Ext.data.writer.Writer\" class=\"docClass\">Ext.data.writer.Writer</a> to use to encode any request sent to the server.\nThis can either be a Writer instance, a config object or just a valid Writer type name (e.g. 'json', 'xml').</p>\n",
279       "private": false,
280       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Server.js",
281       "linenr": 28,
282       "html_filename": "Server.html",
283       "href": "Server.html#Ext-data-proxy-Server-cfg-writer",
284       "shortDoc": "The Ext.data.writer.Writer to use to encode any request sent to the server.\nThis can either be a Writer instance, a c..."
285     }
286   ],
287   "method": [
288     {
289       "tagname": "method",
290       "name": "Ajax",
291       "member": "Ext.data.proxy.Ajax",
292       "doc": "<p>Note that if this HttpProxy is being used by a <a href=\"#/api/Ext.data.Store\" rel=\"Ext.data.Store\" class=\"docClass\">Store</a>, then the\nStore's call to <a href=\"#/api/Ext.data.proxy.Ajax--load\" rel=\"Ext.data.proxy.Ajax--load\" class=\"docClass\">load</a> will override any specified <tt>callback</tt> and <tt>params</tt>\noptions. In this case, use the Store's <a href=\"#/api/Ext.data.Store--events\" rel=\"Ext.data.Store--events\" class=\"docClass\">events</a> to modify parameters,\nor react to loading events. The Store's <a href=\"#/api/Ext.data.Store--baseParams\" rel=\"Ext.data.Store--baseParams\" class=\"docClass\">baseParams</a> may also be\nused to pass parameters known at instantiation time.</p>\n\n\n\n\n<p>If an options parameter is passed, the singleton <a href=\"#/api/Ext.Ajax\" rel=\"Ext.Ajax\" class=\"docClass\">Ext.Ajax</a> object will be used to make\nthe request.</p>\n\n",
293       "params": [
294
295       ],
296       "return": {
297         "type": "void",
298         "doc": "\n"
299       },
300       "private": false,
301       "static": false,
302       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Ajax.js",
303       "linenr": 1,
304       "html_filename": "Ajax2.html",
305       "href": "Ajax2.html#Ext-data-proxy-Ajax-method-constructor",
306       "shortDoc": "Note that if this HttpProxy is being used by a Store, then the\nStore's call to load will override any specified callb..."
307     },
308     {
309       "tagname": "method",
310       "name": "addEvents",
311       "member": "Ext.util.Observable",
312       "doc": "<p>Adds the specified events to the list of events which this Observable may fire.</p>\n",
313       "params": [
314         {
315           "type": "Object/String",
316           "name": "o",
317           "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",
318           "optional": false
319         },
320         {
321           "type": "String",
322           "name": "",
323           "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",
324           "optional": false
325         }
326       ],
327       "return": {
328         "type": "void",
329         "doc": "\n"
330       },
331       "private": false,
332       "static": false,
333       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
334       "linenr": 452,
335       "html_filename": "Observable.html",
336       "href": "Observable.html#Ext-util-Observable-method-addEvents",
337       "shortDoc": "<p>Adds the specified events to the list of events which this Observable may fire.</p>\n"
338     },
339     {
340       "tagname": "method",
341       "name": "addListener",
342       "member": "Ext.util.Observable",
343       "doc": "<p>Appends an event handler to this object.</p>\n",
344       "params": [
345         {
346           "type": "String",
347           "name": "eventName",
348           "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",
349           "optional": false
350         },
351         {
352           "type": "Function",
353           "name": "handler",
354           "doc": "<p>The method the event invokes.</p>\n",
355           "optional": false
356         },
357         {
358           "type": "Object",
359           "name": "scope",
360           "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",
361           "optional": true
362         },
363         {
364           "type": "Object",
365           "name": "options",
366           "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",
367           "optional": true
368         }
369       ],
370       "return": {
371         "type": "void",
372         "doc": "\n"
373       },
374       "private": false,
375       "static": false,
376       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
377       "linenr": 271,
378       "html_filename": "Observable.html",
379       "href": "Observable.html#Ext-util-Observable-method-addListener",
380       "shortDoc": "<p>Appends an event handler to this object.</p>\n"
381     },
382     {
383       "tagname": "method",
384       "name": "addManagedListener",
385       "member": "Ext.util.Observable",
386       "doc": "<p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component\nis destroyed.\n\n",
387       "params": [
388         {
389           "type": "Observable/Element",
390           "name": "item",
391           "doc": "<p>The item to which to add a listener/listeners.</p>\n",
392           "optional": false
393         },
394         {
395           "type": "Object/String",
396           "name": "ename",
397           "doc": "<p>The event name, or an object containing event name properties.</p>\n",
398           "optional": false
399         },
400         {
401           "type": "Function",
402           "name": "fn",
403           "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this\nis the handler function.</p>\n",
404           "optional": false
405         },
406         {
407           "type": "Object",
408           "name": "scope",
409           "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",
410           "optional": false
411         },
412         {
413           "type": "Object",
414           "name": "opt",
415           "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",
416           "optional": false
417         }
418       ],
419       "return": {
420         "type": "void",
421         "doc": "\n"
422       },
423       "private": false,
424       "static": false,
425       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
426       "linenr": 155,
427       "html_filename": "Observable.html",
428       "href": "Observable.html#Ext-util-Observable-method-addManagedListener",
429       "shortDoc": "<p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component\nis destroyed.\n\n"
430     },
431     {
432       "tagname": "method",
433       "name": "afterRequest",
434       "member": "Ext.data.proxy.Server",
435       "doc": "<p>Optional callback function which can be used to clean up after a request has been completed.</p>\n",
436       "params": [
437         {
438           "type": "Ext.data.Request",
439           "name": "request",
440           "doc": "<p>The Request object</p>\n",
441           "optional": false
442         },
443         {
444           "type": "Boolean",
445           "name": "success",
446           "doc": "<p>True if the request was successful</p>\n",
447           "optional": false
448         }
449       ],
450       "return": {
451         "type": "void",
452         "doc": "\n"
453       },
454       "private": false,
455       "static": false,
456       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Server.js",
457       "linenr": 450,
458       "html_filename": "Server.html",
459       "href": "Server.html#Ext-data-proxy-Server-method-afterRequest",
460       "shortDoc": "<p>Optional callback function which can be used to clean up after a request has been completed.</p>\n"
461     },
462     {
463       "tagname": "method",
464       "name": "batch",
465       "member": "Ext.data.proxy.Proxy",
466       "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.Ajax-cfg-batchOrder\" rel=\"Ext.data.proxy.Ajax-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",
467       "params": [
468         {
469           "type": "Object",
470           "name": "operations",
471           "doc": "<p>Object containing the Model instances to act upon, keyed by action name</p>\n",
472           "optional": false
473         },
474         {
475           "type": "Object",
476           "name": "listeners",
477           "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",
478           "optional": false
479         }
480       ],
481       "return": {
482         "type": "Ext.data.Batch",
483         "doc": "<p>The newly created <a href=\"#/api/Ext.data.Batch\" rel=\"Ext.data.Batch\" class=\"docClass\">Ext.data.Batch</a> object</p>\n"
484       },
485       "private": false,
486       "static": false,
487       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Proxy.js",
488       "linenr": 241,
489       "html_filename": "Proxy2.html",
490       "href": "Proxy2.html#Ext-data-proxy-Proxy-method-batch",
491       "shortDoc": "Performs a batch of Operations, in the order specified by batchOrder. Used internally by\nExt.data.Store's sync method..."
492     },
493     {
494       "tagname": "method",
495       "name": "buildRequest",
496       "member": "Ext.data.proxy.Server",
497       "doc": "<p>Creates and returns an <a href=\"#/api/Ext.data.Request\" rel=\"Ext.data.Request\" class=\"docClass\">Ext.data.Request</a> object based on the options passed by the <a href=\"#/api/Ext.data.Store\" rel=\"Ext.data.Store\" class=\"docClass\">Store</a>\nthat this Proxy is attached to.</p>\n",
498       "params": [
499         {
500           "type": "Ext.data.Operation",
501           "name": "operation",
502           "doc": "<p>The <a href=\"#/api/Ext.data.Operation\" rel=\"Ext.data.Operation\" class=\"docClass\">Operation</a> object to execute</p>\n",
503           "optional": false
504         }
505       ],
506       "return": {
507         "type": "Ext.data.Request",
508         "doc": "<p>The request object</p>\n"
509       },
510       "private": false,
511       "static": false,
512       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Server.js",
513       "linenr": 172,
514       "html_filename": "Server.html",
515       "href": "Server.html#Ext-data-proxy-Server-method-buildRequest",
516       "shortDoc": "<p>Creates and returns an <a href=\"#/api/Ext.data.Request\" rel=\"Ext.data.Request\" class=\"docClass\">Ext.data.Request</a> object based on the options passed by the <a href=\"#/api/Ext.data.Store\" rel=\"Ext.data.Store\" class=\"docClass\">Store</a>\nthat this Proxy is attached to.</p>\n"
517     },
518     {
519       "tagname": "method",
520       "name": "buildUrl",
521       "member": "Ext.data.proxy.Server",
522       "doc": "<p>Generates a url based on a given <a href=\"#/api/Ext.data.Request\" rel=\"Ext.data.Request\" class=\"docClass\">Ext.data.Request</a> object. By default, ServerProxy's buildUrl will\nadd the cache-buster param to the end of the url. Subclasses may need to perform additional modifications\nto the url.</p>\n",
523       "params": [
524         {
525           "type": "Ext.data.Request",
526           "name": "request",
527           "doc": "<p>The request object</p>\n",
528           "optional": false
529         }
530       ],
531       "return": {
532         "type": "String",
533         "doc": "<p>The url</p>\n"
534       },
535       "private": false,
536       "static": false,
537       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Server.js",
538       "linenr": 399,
539       "html_filename": "Server.html",
540       "href": "Server.html#Ext-data-proxy-Server-method-buildUrl",
541       "shortDoc": "Generates a url based on a given Ext.data.Request object. By default, ServerProxy's buildUrl will\nadd the cache-buste..."
542     },
543     {
544       "tagname": "method",
545       "name": "capture",
546       "member": "Ext.util.Observable",
547       "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",
548       "params": [
549         {
550           "type": "Observable",
551           "name": "o",
552           "doc": "<p>The Observable to capture events from.</p>\n",
553           "optional": false
554         },
555         {
556           "type": "Function",
557           "name": "fn",
558           "doc": "<p>The function to call when an event is fired.</p>\n",
559           "optional": false
560         },
561         {
562           "type": "Object",
563           "name": "scope",
564           "doc": "<p>(optional) The scope (<code>this</code> reference) in which the function is executed. Defaults to the Observable firing the event.</p>\n",
565           "optional": true
566         }
567       ],
568       "return": {
569         "type": "void",
570         "doc": "\n"
571       },
572       "private": false,
573       "static": true,
574       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
575       "linenr": 55,
576       "html_filename": "Observable.html",
577       "href": "Observable.html#Ext-util-Observable-method-capture",
578       "shortDoc": "Starts capture on the specified Observable. All events will be passed\nto the supplied function with the event name + ..."
579     },
580     {
581       "tagname": "method",
582       "name": "clearListeners",
583       "member": "Ext.util.Observable",
584       "doc": "<p>Removes all listeners for this object including the managed listeners</p>\n",
585       "params": [
586
587       ],
588       "return": {
589         "type": "void",
590         "doc": "\n"
591       },
592       "private": false,
593       "static": false,
594       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
595       "linenr": 383,
596       "html_filename": "Observable.html",
597       "href": "Observable.html#Ext-util-Observable-method-clearListeners",
598       "shortDoc": "<p>Removes all listeners for this object including the managed listeners</p>\n"
599     },
600     {
601       "tagname": "method",
602       "name": "clearManagedListeners",
603       "member": "Ext.util.Observable",
604       "doc": "<p>Removes all managed listeners for this object.</p>\n",
605       "params": [
606
607       ],
608       "return": {
609         "type": "void",
610         "doc": "\n"
611       },
612       "private": false,
613       "static": false,
614       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
615       "linenr": 412,
616       "html_filename": "Observable.html",
617       "href": "Observable.html#Ext-util-Observable-method-clearManagedListeners",
618       "shortDoc": "<p>Removes all managed listeners for this object.</p>\n"
619     },
620     {
621       "tagname": "method",
622       "name": "create",
623       "member": "Ext.data.proxy.Proxy",
624       "doc": "<p>Performs the given create operation.</p>\n",
625       "params": [
626         {
627           "type": "Ext.data.Operation",
628           "name": "operation",
629           "doc": "<p>The Operation to perform</p>\n",
630           "optional": false
631         },
632         {
633           "type": "Function",
634           "name": "callback",
635           "doc": "<p>Callback function to be called when the Operation has completed (whether successful or not)</p>\n",
636           "optional": false
637         },
638         {
639           "type": "Object",
640           "name": "scope",
641           "doc": "<p>Scope to execute the callback function in</p>\n",
642           "optional": false
643         }
644       ],
645       "return": {
646         "type": "void",
647         "doc": "\n"
648       },
649       "private": false,
650       "static": false,
651       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Proxy.js",
652       "linenr": 205,
653       "html_filename": "Proxy2.html",
654       "href": "Proxy2.html#Ext-data-proxy-Proxy-method-create",
655       "shortDoc": "<p>Performs the given create operation.</p>\n"
656     },
657     {
658       "tagname": "method",
659       "name": "destroy",
660       "member": "Ext.data.proxy.Proxy",
661       "doc": "<p>Performs the given destroy operation.</p>\n",
662       "params": [
663         {
664           "type": "Ext.data.Operation",
665           "name": "operation",
666           "doc": "<p>The Operation to perform</p>\n",
667           "optional": false
668         },
669         {
670           "type": "Function",
671           "name": "callback",
672           "doc": "<p>Callback function to be called when the Operation has completed (whether successful or not)</p>\n",
673           "optional": false
674         },
675         {
676           "type": "Object",
677           "name": "scope",
678           "doc": "<p>Scope to execute the callback function in</p>\n",
679           "optional": false
680         }
681       ],
682       "return": {
683         "type": "void",
684         "doc": "\n"
685       },
686       "private": false,
687       "static": false,
688       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Proxy.js",
689       "linenr": 232,
690       "html_filename": "Proxy2.html",
691       "href": "Proxy2.html#Ext-data-proxy-Proxy-method-destroy",
692       "shortDoc": "<p>Performs the given destroy operation.</p>\n"
693     },
694     {
695       "tagname": "method",
696       "name": "doRequest",
697       "member": "Ext.data.proxy.Server",
698       "doc": "<p>In ServerProxy subclasses, the <a href=\"#/api/Ext.data.proxy.Ajax-method-create\" rel=\"Ext.data.proxy.Ajax-method-create\" class=\"docClass\">create</a>, <a href=\"#/api/Ext.data.proxy.Ajax-method-read\" rel=\"Ext.data.proxy.Ajax-method-read\" class=\"docClass\">read</a>, <a href=\"#/api/Ext.data.proxy.Ajax-method-update\" rel=\"Ext.data.proxy.Ajax-method-update\" class=\"docClass\">update</a> and <a href=\"#/api/Ext.data.proxy.Ajax-method-destroy\" rel=\"Ext.data.proxy.Ajax-method-destroy\" class=\"docClass\">destroy</a> methods all pass\nthrough to doRequest. Each ServerProxy subclass must implement the doRequest method - see <a href=\"#/api/Ext.data.proxy.JsonP\" rel=\"Ext.data.proxy.JsonP\" class=\"docClass\">Ext.data.proxy.JsonP</a>\nand <a href=\"#/api/Ext.data.proxy.Ajax\" rel=\"Ext.data.proxy.Ajax\" class=\"docClass\">Ext.data.proxy.Ajax</a> for examples. This method carries the same signature as each of the methods that delegate to it.</p>\n",
699       "params": [
700         {
701           "type": "Ext.data.Operation",
702           "name": "operation",
703           "doc": "<p>The <a href=\"#/api/Ext.data.Operation\" rel=\"Ext.data.Operation\" class=\"docClass\">Ext.data.Operation</a> object</p>\n",
704           "optional": false
705         },
706         {
707           "type": "Function",
708           "name": "callback",
709           "doc": "<p>The callback function to call when the Operation has completed</p>\n",
710           "optional": false
711         },
712         {
713           "type": "Object",
714           "name": "scope",
715           "doc": "<p>The scope in which to execute the callback</p>\n",
716           "optional": false
717         }
718       ],
719       "return": {
720         "type": "void",
721         "doc": "\n"
722       },
723       "private": false,
724       "static": false,
725       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Server.js",
726       "linenr": 436,
727       "html_filename": "Server.html",
728       "href": "Server.html#Ext-data-proxy-Server-method-doRequest",
729       "shortDoc": "In ServerProxy subclasses, the create, read, update and destroy methods all pass\nthrough to doRequest. Each ServerPro..."
730     },
731     {
732       "tagname": "method",
733       "name": "enableBubble",
734       "member": "Ext.util.Observable",
735       "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",
736       "params": [
737         {
738           "type": "String/Array",
739           "name": "events",
740           "doc": "<p>The event name to bubble, or an Array of event names.</p>\n",
741           "optional": false
742         }
743       ],
744       "return": {
745         "type": "void",
746         "doc": "\n"
747       },
748       "private": false,
749       "static": false,
750       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
751       "linenr": 554,
752       "html_filename": "Observable.html",
753       "href": "Observable.html#Ext-util-Observable-method-enableBubble",
754       "shortDoc": "Enables events fired by this Observable to bubble up an owner hierarchy by calling\nthis.getBubbleTarget() if present...."
755     },
756     {
757       "tagname": "method",
758       "name": "encodeFilters",
759       "member": "Ext.data.proxy.Server",
760       "doc": "<p>Encodes the array of <a href=\"#/api/Ext.util.Filter\" rel=\"Ext.util.Filter\" class=\"docClass\">Ext.util.Filter</a> objects into a string to be sent in the request url. By default,\nthis simply JSON-encodes the filter data</p>\n",
761       "params": [
762         {
763           "type": "Array",
764           "name": "sorters",
765           "doc": "<p>The array of <a href=\"#/api/Ext.util.Filter\" rel=\"Ext.util.Filter\" class=\"docClass\">Filter</a> objects</p>\n",
766           "optional": false
767         }
768       ],
769       "return": {
770         "type": "String",
771         "doc": "<p>The encoded filters</p>\n"
772       },
773       "private": false,
774       "static": false,
775       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Server.js",
776       "linenr": 319,
777       "html_filename": "Server.html",
778       "href": "Server.html#Ext-data-proxy-Server-method-encodeFilters",
779       "shortDoc": "Encodes the array of Ext.util.Filter objects into a string to be sent in the request url. By default,\nthis simply JSO..."
780     },
781     {
782       "tagname": "method",
783       "name": "encodeSorters",
784       "member": "Ext.data.proxy.Server",
785       "doc": "<p>Encodes the array of <a href=\"#/api/Ext.util.Sorter\" rel=\"Ext.util.Sorter\" class=\"docClass\">Ext.util.Sorter</a> objects into a string to be sent in the request url. By default,\nthis simply JSON-encodes the sorter data</p>\n",
786       "params": [
787         {
788           "type": "Array",
789           "name": "sorters",
790           "doc": "<p>The array of <a href=\"#/api/Ext.util.Sorter\" rel=\"Ext.util.Sorter\" class=\"docClass\">Sorter</a> objects</p>\n",
791           "optional": false
792         }
793       ],
794       "return": {
795         "type": "String",
796         "doc": "<p>The encoded sorters</p>\n"
797       },
798       "private": false,
799       "static": false,
800       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Server.js",
801       "linenr": 298,
802       "html_filename": "Server.html",
803       "href": "Server.html#Ext-data-proxy-Server-method-encodeSorters",
804       "shortDoc": "Encodes the array of Ext.util.Sorter objects into a string to be sent in the request url. By default,\nthis simply JSO..."
805     },
806     {
807       "tagname": "method",
808       "name": "fireEvent",
809       "member": "Ext.util.Observable",
810       "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.Ajax-method-enableBubble\" rel=\"Ext.data.proxy.Ajax-method-enableBubble\" class=\"docClass\">enableBubble</a>.</p>\n\n",
811       "params": [
812         {
813           "type": "String",
814           "name": "eventName",
815           "doc": "<p>The name of the event to fire.</p>\n",
816           "optional": false
817         },
818         {
819           "type": "Object...",
820           "name": "args",
821           "doc": "<p>Variable number of parameters are passed to handlers.</p>\n",
822           "optional": false
823         }
824       ],
825       "return": {
826         "type": "Boolean",
827         "doc": "<p>returns false if any of the handlers return false otherwise it returns true.</p>\n"
828       },
829       "private": false,
830       "static": false,
831       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
832       "linenr": 232,
833       "html_filename": "Observable.html",
834       "href": "Observable.html#Ext-util-Observable-method-fireEvent",
835       "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..."
836     },
837     {
838       "tagname": "method",
839       "name": "getMethod",
840       "member": "Ext.data.proxy.Ajax",
841       "doc": "<p>Returns the HTTP method name for a given request. By default this returns based on a lookup on <a href=\"#/api/Ext.data.proxy.Ajax-property-actionMethods\" rel=\"Ext.data.proxy.Ajax-property-actionMethods\" class=\"docClass\">actionMethods</a>.</p>\n",
842       "params": [
843         {
844           "type": "Ext.data.Request",
845           "name": "request",
846           "doc": "<p>The request object</p>\n",
847           "optional": false
848         }
849       ],
850       "return": {
851         "type": "String",
852         "doc": "<p>The HTTP method to use (should be one of 'GET', 'POST', 'PUT' or 'DELETE')</p>\n"
853       },
854       "private": false,
855       "static": false,
856       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Ajax.js",
857       "linenr": 281,
858       "html_filename": "Ajax2.html",
859       "href": "Ajax2.html#Ext-data-proxy-Ajax-method-getMethod",
860       "shortDoc": "<p>Returns the HTTP method name for a given request. By default this returns based on a lookup on <a href=\"#/api/Ext.data.proxy.Ajax-property-actionMethods\" rel=\"Ext.data.proxy.Ajax-property-actionMethods\" class=\"docClass\">actionMethods</a>.</p>\n"
861     },
862     {
863       "tagname": "method",
864       "name": "getModel",
865       "member": "Ext.data.proxy.Proxy",
866       "doc": "<p>Returns the model attached to this Proxy</p>\n",
867       "params": [
868
869       ],
870       "return": {
871         "type": "Ext.data.Model",
872         "doc": "<p>The model</p>\n"
873       },
874       "private": false,
875       "static": false,
876       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Proxy.js",
877       "linenr": 123,
878       "html_filename": "Proxy2.html",
879       "href": "Proxy2.html#Ext-data-proxy-Proxy-method-getModel",
880       "shortDoc": "<p>Returns the model attached to this Proxy</p>\n"
881     },
882     {
883       "tagname": "method",
884       "name": "getReader",
885       "member": "Ext.data.proxy.Proxy",
886       "doc": "<p>Returns the reader currently attached to this proxy instance</p>\n",
887       "params": [
888
889       ],
890       "return": {
891         "type": "Ext.data.reader.Reader",
892         "doc": "<p>The Reader instance</p>\n"
893       },
894       "private": false,
895       "static": false,
896       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Proxy.js",
897       "linenr": 162,
898       "html_filename": "Proxy2.html",
899       "href": "Proxy2.html#Ext-data-proxy-Proxy-method-getReader",
900       "shortDoc": "<p>Returns the reader currently attached to this proxy instance</p>\n"
901     },
902     {
903       "tagname": "method",
904       "name": "getWriter",
905       "member": "Ext.data.proxy.Proxy",
906       "doc": "<p>Returns the writer currently attached to this proxy instance</p>\n",
907       "params": [
908
909       ],
910       "return": {
911         "type": "Ext.data.writer.Writer",
912         "doc": "<p>The Writer instance</p>\n"
913       },
914       "private": false,
915       "static": false,
916       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Proxy.js",
917       "linenr": 197,
918       "html_filename": "Proxy2.html",
919       "href": "Proxy2.html#Ext-data-proxy-Proxy-method-getWriter",
920       "shortDoc": "<p>Returns the writer currently attached to this proxy instance</p>\n"
921     },
922     {
923       "tagname": "method",
924       "name": "hasListener",
925       "member": "Ext.util.Observable",
926       "doc": "<p>Checks to see if this object has any listeners for a specified event</p>\n",
927       "params": [
928         {
929           "type": "String",
930           "name": "eventName",
931           "doc": "<p>The name of the event to check for</p>\n",
932           "optional": false
933         }
934       ],
935       "return": {
936         "type": "Boolean",
937         "doc": "<p>True if the event is being listened for, else false</p>\n"
938       },
939       "private": false,
940       "static": false,
941       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
942       "linenr": 480,
943       "html_filename": "Observable.html",
944       "href": "Observable.html#Ext-util-Observable-method-hasListener",
945       "shortDoc": "<p>Checks to see if this object has any listeners for a specified event</p>\n"
946     },
947     {
948       "tagname": "method",
949       "name": "observe",
950       "member": "Ext.util.Observable",
951       "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",
952       "params": [
953         {
954           "type": "Function",
955           "name": "c",
956           "doc": "<p>The class constructor to make observable.</p>\n",
957           "optional": false
958         },
959         {
960           "type": "Object",
961           "name": "listeners",
962           "doc": "<p>An object containing a series of listeners to add. See <a href=\"#/api/Ext.data.proxy.Ajax-method-addListener\" rel=\"Ext.data.proxy.Ajax-method-addListener\" class=\"docClass\">addListener</a>.</p>\n",
963           "optional": false
964         }
965       ],
966       "return": {
967         "type": "void",
968         "doc": "\n"
969       },
970       "private": false,
971       "static": true,
972       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
973       "linenr": 69,
974       "html_filename": "Observable.html",
975       "href": "Observable.html#Ext-util-Observable-method-observe",
976       "shortDoc": "Sets observability on the passed class constructor.\n\nThis makes any event fired on any instance of the passed class a..."
977     },
978     {
979       "tagname": "method",
980       "name": "on",
981       "member": "Ext.util.Observable",
982       "doc": "<p>Appends an event handler to this object (shorthand for <a href=\"#/api/Ext.data.proxy.Ajax-method-addListener\" rel=\"Ext.data.proxy.Ajax-method-addListener\" class=\"docClass\">addListener</a>.)</p>\n",
983       "params": [
984         {
985           "type": "String",
986           "name": "eventName",
987           "doc": "<p>The type of event to listen for</p>\n",
988           "optional": false
989         },
990         {
991           "type": "Function",
992           "name": "handler",
993           "doc": "<p>The method the event invokes</p>\n",
994           "optional": false
995         },
996         {
997           "type": "Object",
998           "name": "scope",
999           "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",
1000           "optional": true
1001         },
1002         {
1003           "type": "Object",
1004           "name": "options",
1005           "doc": "<p>(optional) An object containing handler configuration.</p>\n",
1006           "optional": true
1007         }
1008       ],
1009       "return": {
1010         "type": "void",
1011         "doc": "\n"
1012       },
1013       "private": false,
1014       "static": false,
1015       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
1016       "linenr": 616,
1017       "html_filename": "Observable.html",
1018       "href": "Observable.html#Ext-util-Observable-method-on",
1019       "shortDoc": "<p>Appends an event handler to this object (shorthand for <a href=\"#/api/Ext.data.proxy.Ajax-method-addListener\" rel=\"Ext.data.proxy.Ajax-method-addListener\" class=\"docClass\">addListener</a>.)</p>\n"
1020     },
1021     {
1022       "tagname": "method",
1023       "name": "processResponse",
1024       "member": "Ext.data.proxy.Server",
1025       "doc": "\n",
1026       "params": [
1027         {
1028           "type": "Object",
1029           "name": "success",
1030           "doc": "\n",
1031           "optional": false
1032         },
1033         {
1034           "type": "Object",
1035           "name": "operation",
1036           "doc": "\n",
1037           "optional": false
1038         },
1039         {
1040           "type": "Object",
1041           "name": "request",
1042           "doc": "\n",
1043           "optional": false
1044         },
1045         {
1046           "type": "Object",
1047           "name": "response",
1048           "doc": "\n",
1049           "optional": false
1050         },
1051         {
1052           "type": "Object",
1053           "name": "callback",
1054           "doc": "\n",
1055           "optional": false
1056         },
1057         {
1058           "type": "Object",
1059           "name": "scope",
1060           "doc": "\n",
1061           "optional": false
1062         }
1063       ],
1064       "return": {
1065         "type": "void",
1066         "doc": "\n"
1067       },
1068       "private": false,
1069       "static": false,
1070       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Server.js",
1071       "linenr": 208,
1072       "html_filename": "Server.html",
1073       "href": "Server.html#Ext-data-proxy-Server-method-processResponse",
1074       "shortDoc": "\n"
1075     },
1076     {
1077       "tagname": "method",
1078       "name": "read",
1079       "member": "Ext.data.proxy.Proxy",
1080       "doc": "<p>Performs the given read operation.</p>\n",
1081       "params": [
1082         {
1083           "type": "Ext.data.Operation",
1084           "name": "operation",
1085           "doc": "<p>The Operation to perform</p>\n",
1086           "optional": false
1087         },
1088         {
1089           "type": "Function",
1090           "name": "callback",
1091           "doc": "<p>Callback function to be called when the Operation has completed (whether successful or not)</p>\n",
1092           "optional": false
1093         },
1094         {
1095           "type": "Object",
1096           "name": "scope",
1097           "doc": "<p>Scope to execute the callback function in</p>\n",
1098           "optional": false
1099         }
1100       ],
1101       "return": {
1102         "type": "void",
1103         "doc": "\n"
1104       },
1105       "private": false,
1106       "static": false,
1107       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Proxy.js",
1108       "linenr": 214,
1109       "html_filename": "Proxy2.html",
1110       "href": "Proxy2.html#Ext-data-proxy-Proxy-method-read",
1111       "shortDoc": "<p>Performs the given read operation.</p>\n"
1112     },
1113     {
1114       "tagname": "method",
1115       "name": "relayEvents",
1116       "member": "Ext.util.Observable",
1117       "doc": "<p>Relays selected events from the specified Observable as if the events were fired by <code><b>this</b></code>.</p>\n",
1118       "params": [
1119         {
1120           "type": "Object",
1121           "name": "origin",
1122           "doc": "<p>The Observable whose events this object is to relay.</p>\n",
1123           "optional": false
1124         },
1125         {
1126           "type": "Array",
1127           "name": "events",
1128           "doc": "<p>Array of event names to relay.</p>\n",
1129           "optional": false
1130         },
1131         {
1132           "type": "Object",
1133           "name": "prefix",
1134           "doc": "\n",
1135           "optional": false
1136         }
1137       ],
1138       "return": {
1139         "type": "void",
1140         "doc": "\n"
1141       },
1142       "private": false,
1143       "static": false,
1144       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
1145       "linenr": 520,
1146       "html_filename": "Observable.html",
1147       "href": "Observable.html#Ext-util-Observable-method-relayEvents",
1148       "shortDoc": "<p>Relays selected events from the specified Observable as if the events were fired by <code><b>this</b></code>.</p>\n"
1149     },
1150     {
1151       "tagname": "method",
1152       "name": "releaseCapture",
1153       "member": "Ext.util.Observable",
1154       "doc": "<p>Removes <b>all</b> added captures from the Observable.</p>\n",
1155       "params": [
1156         {
1157           "type": "Observable",
1158           "name": "o",
1159           "doc": "<p>The Observable to release</p>\n",
1160           "optional": false
1161         }
1162       ],
1163       "return": {
1164         "type": "void",
1165         "doc": "\n"
1166       },
1167       "private": false,
1168       "static": true,
1169       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
1170       "linenr": 46,
1171       "html_filename": "Observable.html",
1172       "href": "Observable.html#Ext-util-Observable-method-releaseCapture",
1173       "shortDoc": "<p>Removes <b>all</b> added captures from the Observable.</p>\n"
1174     },
1175     {
1176       "tagname": "method",
1177       "name": "removeListener",
1178       "member": "Ext.util.Observable",
1179       "doc": "<p>Removes an event handler.</p>\n",
1180       "params": [
1181         {
1182           "type": "String",
1183           "name": "eventName",
1184           "doc": "<p>The type of event the handler was associated with.</p>\n",
1185           "optional": false
1186         },
1187         {
1188           "type": "Function",
1189           "name": "handler",
1190           "doc": "<p>The handler to remove. <b>This must be a reference to the function passed into the <a href=\"#/api/Ext.data.proxy.Ajax-method-addListener\" rel=\"Ext.data.proxy.Ajax-method-addListener\" class=\"docClass\">addListener</a> call.</b></p>\n",
1191           "optional": false
1192         },
1193         {
1194           "type": "Object",
1195           "name": "scope",
1196           "doc": "<p>(optional) The scope originally specified for the handler.</p>\n",
1197           "optional": true
1198         }
1199       ],
1200       "return": {
1201         "type": "void",
1202         "doc": "\n"
1203       },
1204       "private": false,
1205       "static": false,
1206       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
1207       "linenr": 352,
1208       "html_filename": "Observable.html",
1209       "href": "Observable.html#Ext-util-Observable-method-removeListener",
1210       "shortDoc": "<p>Removes an event handler.</p>\n"
1211     },
1212     {
1213       "tagname": "method",
1214       "name": "removeManagedListener",
1215       "member": "Ext.util.Observable",
1216       "doc": "<p>Removes listeners that were added by the <a href=\"#/api/Ext.data.proxy.Ajax--mon\" rel=\"Ext.data.proxy.Ajax--mon\" class=\"docClass\">mon</a> method.</p>\n",
1217       "params": [
1218         {
1219           "type": "Observable|Element",
1220           "name": "item",
1221           "doc": "<p>The item from which to remove a listener/listeners.</p>\n",
1222           "optional": false
1223         },
1224         {
1225           "type": "Object|String",
1226           "name": "ename",
1227           "doc": "<p>The event name, or an object containing event name properties.</p>\n",
1228           "optional": false
1229         },
1230         {
1231           "type": "Function",
1232           "name": "fn",
1233           "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this\nis the handler function.</p>\n",
1234           "optional": false
1235         },
1236         {
1237           "type": "Object",
1238           "name": "scope",
1239           "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",
1240           "optional": false
1241         }
1242       ],
1243       "return": {
1244         "type": "void",
1245         "doc": "\n"
1246       },
1247       "private": false,
1248       "static": false,
1249       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
1250       "linenr": 196,
1251       "html_filename": "Observable.html",
1252       "href": "Observable.html#Ext-util-Observable-method-removeManagedListener",
1253       "shortDoc": "<p>Removes listeners that were added by the <a href=\"#/api/Ext.data.proxy.Ajax--mon\" rel=\"Ext.data.proxy.Ajax--mon\" class=\"docClass\">mon</a> method.</p>\n"
1254     },
1255     {
1256       "tagname": "method",
1257       "name": "resumeEvents",
1258       "member": "Ext.util.Observable",
1259       "doc": "<p>Resume firing events. (see <a href=\"#/api/Ext.data.proxy.Ajax-method-suspendEvents\" rel=\"Ext.data.proxy.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",
1260       "params": [
1261
1262       ],
1263       "return": {
1264         "type": "void",
1265         "doc": "\n"
1266       },
1267       "private": false,
1268       "static": false,
1269       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
1270       "linenr": 502,
1271       "html_filename": "Observable.html",
1272       "href": "Observable.html#Ext-util-Observable-method-resumeEvents",
1273       "shortDoc": "Resume firing events. (see suspendEvents)\nIf events were suspended using the queueSuspended parameter, then all\nevent..."
1274     },
1275     {
1276       "tagname": "method",
1277       "name": "setModel",
1278       "member": "Ext.data.proxy.Proxy",
1279       "doc": "<p>Sets the model associated with this proxy. This will only usually be called by a Store</p>\n",
1280       "params": [
1281         {
1282           "type": "String|Ext.data.Model",
1283           "name": "model",
1284           "doc": "<p>The new model. Can be either the model name string,\nor a reference to the model's constructor</p>\n",
1285           "optional": false
1286         },
1287         {
1288           "type": "Boolean",
1289           "name": "setOnStore",
1290           "doc": "<p>Sets the new model on the associated Store, if one is present</p>\n",
1291           "optional": false
1292         }
1293       ],
1294       "return": {
1295         "type": "void",
1296         "doc": "\n"
1297       },
1298       "private": false,
1299       "static": false,
1300       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Proxy.js",
1301       "linenr": 103,
1302       "html_filename": "Proxy2.html",
1303       "href": "Proxy2.html#Ext-data-proxy-Proxy-method-setModel",
1304       "shortDoc": "<p>Sets the model associated with this proxy. This will only usually be called by a Store</p>\n"
1305     },
1306     {
1307       "tagname": "method",
1308       "name": "setReader",
1309       "member": "Ext.data.proxy.Proxy",
1310       "doc": "<p>Sets the Proxy's Reader by string, config object or Reader instance</p>\n",
1311       "params": [
1312         {
1313           "type": "String|Object|Ext.data.reader.Reader",
1314           "name": "reader",
1315           "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",
1316           "optional": false
1317         }
1318       ],
1319       "return": {
1320         "type": "Ext.data.reader.Reader",
1321         "doc": "<p>The attached Reader object</p>\n"
1322       },
1323       "private": false,
1324       "static": false,
1325       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Proxy.js",
1326       "linenr": 131,
1327       "html_filename": "Proxy2.html",
1328       "href": "Proxy2.html#Ext-data-proxy-Proxy-method-setReader",
1329       "shortDoc": "<p>Sets the Proxy's Reader by string, config object or Reader instance</p>\n"
1330     },
1331     {
1332       "tagname": "method",
1333       "name": "setWriter",
1334       "member": "Ext.data.proxy.Proxy",
1335       "doc": "<p>Sets the Proxy's Writer by string, config object or Writer instance</p>\n",
1336       "params": [
1337         {
1338           "type": "String|Object|Ext.data.writer.Writer",
1339           "name": "writer",
1340           "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",
1341           "optional": false
1342         }
1343       ],
1344       "return": {
1345         "type": "Ext.data.writer.Writer",
1346         "doc": "<p>The attached Writer object</p>\n"
1347       },
1348       "private": false,
1349       "static": false,
1350       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Proxy.js",
1351       "linenr": 170,
1352       "html_filename": "Proxy2.html",
1353       "href": "Proxy2.html#Ext-data-proxy-Proxy-method-setWriter",
1354       "shortDoc": "<p>Sets the Proxy's Writer by string, config object or Writer instance</p>\n"
1355     },
1356     {
1357       "tagname": "method",
1358       "name": "suspendEvents",
1359       "member": "Ext.util.Observable",
1360       "doc": "<p>Suspend the firing of all events. (see <a href=\"#/api/Ext.data.proxy.Ajax-method-resumeEvents\" rel=\"Ext.data.proxy.Ajax-method-resumeEvents\" class=\"docClass\">resumeEvents</a>)</p>\n",
1361       "params": [
1362         {
1363           "type": "Boolean",
1364           "name": "queueSuspended",
1365           "doc": "<p>Pass as true to queue up suspended events to be fired\nafter the <a href=\"#/api/Ext.data.proxy.Ajax-method-resumeEvents\" rel=\"Ext.data.proxy.Ajax-method-resumeEvents\" class=\"docClass\">resumeEvents</a> call instead of discarding all suspended events;</p>\n",
1366           "optional": false
1367         }
1368       ],
1369       "return": {
1370         "type": "void",
1371         "doc": "\n"
1372       },
1373       "private": false,
1374       "static": false,
1375       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
1376       "linenr": 490,
1377       "html_filename": "Observable.html",
1378       "href": "Observable.html#Ext-util-Observable-method-suspendEvents",
1379       "shortDoc": "<p>Suspend the firing of all events. (see <a href=\"#/api/Ext.data.proxy.Ajax-method-resumeEvents\" rel=\"Ext.data.proxy.Ajax-method-resumeEvents\" class=\"docClass\">resumeEvents</a>)</p>\n"
1380     },
1381     {
1382       "tagname": "method",
1383       "name": "un",
1384       "member": "Ext.util.Observable",
1385       "doc": "<p>Removes an event handler (shorthand for <a href=\"#/api/Ext.data.proxy.Ajax-method-removeListener\" rel=\"Ext.data.proxy.Ajax-method-removeListener\" class=\"docClass\">removeListener</a>.)</p>\n",
1386       "params": [
1387         {
1388           "type": "String",
1389           "name": "eventName",
1390           "doc": "<p>The type of event the handler was associated with.</p>\n",
1391           "optional": false
1392         },
1393         {
1394           "type": "Function",
1395           "name": "handler",
1396           "doc": "<p>The handler to remove. <b>This must be a reference to the function passed into the <a href=\"#/api/Ext.data.proxy.Ajax-method-addListener\" rel=\"Ext.data.proxy.Ajax-method-addListener\" class=\"docClass\">addListener</a> call.</b></p>\n",
1397           "optional": false
1398         },
1399         {
1400           "type": "Object",
1401           "name": "scope",
1402           "doc": "<p>(optional) The scope originally specified for the handler.</p>\n",
1403           "optional": true
1404         }
1405       ],
1406       "return": {
1407         "type": "void",
1408         "doc": "\n"
1409       },
1410       "private": false,
1411       "static": false,
1412       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
1413       "linenr": 608,
1414       "html_filename": "Observable.html",
1415       "href": "Observable.html#Ext-util-Observable-method-un",
1416       "shortDoc": "<p>Removes an event handler (shorthand for <a href=\"#/api/Ext.data.proxy.Ajax-method-removeListener\" rel=\"Ext.data.proxy.Ajax-method-removeListener\" class=\"docClass\">removeListener</a>.)</p>\n"
1417     },
1418     {
1419       "tagname": "method",
1420       "name": "update",
1421       "member": "Ext.data.proxy.Proxy",
1422       "doc": "<p>Performs the given update operation.</p>\n",
1423       "params": [
1424         {
1425           "type": "Ext.data.Operation",
1426           "name": "operation",
1427           "doc": "<p>The Operation to perform</p>\n",
1428           "optional": false
1429         },
1430         {
1431           "type": "Function",
1432           "name": "callback",
1433           "doc": "<p>Callback function to be called when the Operation has completed (whether successful or not)</p>\n",
1434           "optional": false
1435         },
1436         {
1437           "type": "Object",
1438           "name": "scope",
1439           "doc": "<p>Scope to execute the callback function in</p>\n",
1440           "optional": false
1441         }
1442       ],
1443       "return": {
1444         "type": "void",
1445         "doc": "\n"
1446       },
1447       "private": false,
1448       "static": false,
1449       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Proxy.js",
1450       "linenr": 223,
1451       "html_filename": "Proxy2.html",
1452       "href": "Proxy2.html#Ext-data-proxy-Proxy-method-update",
1453       "shortDoc": "<p>Performs the given update operation.</p>\n"
1454     }
1455   ],
1456   "property": [
1457     {
1458       "tagname": "property",
1459       "name": "actionMethods",
1460       "member": "Ext.data.proxy.Ajax",
1461       "type": "Object",
1462       "doc": "<p>Mapping of action name to HTTP request method. In the basic AjaxProxy these are set to 'GET' for 'read' actions and 'POST'\nfor 'create', 'update' and 'destroy' actions. The <a href=\"#/api/Ext.data.proxy.Rest\" rel=\"Ext.data.proxy.Rest\" class=\"docClass\">Ext.data.proxy.Rest</a> maps these to the correct RESTful methods.</p>\n",
1463       "private": false,
1464       "static": false,
1465       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Ajax.js",
1466       "linenr": 240,
1467       "html_filename": "Ajax2.html",
1468       "href": "Ajax2.html#Ext-data-proxy-Ajax-property-actionMethods",
1469       "shortDoc": "Mapping of action name to HTTP request method. In the basic AjaxProxy these are set to 'GET' for 'read' actions and '..."
1470     }
1471   ],
1472   "event": [
1473     {
1474       "tagname": "event",
1475       "name": "exception",
1476       "member": "Ext.data.proxy.Server",
1477       "doc": "<p>Fires when the server returns an exception</p>\n",
1478       "params": [
1479         {
1480           "type": "Ext.data.proxy.Proxy",
1481           "name": "this",
1482           "doc": "\n",
1483           "optional": false
1484         },
1485         {
1486           "type": "Object",
1487           "name": "response",
1488           "doc": "<p>The response from the AJAX request</p>\n",
1489           "optional": false
1490         },
1491         {
1492           "type": "Ext.data.Operation",
1493           "name": "operation",
1494           "doc": "<p>The operation that triggered request</p>\n",
1495           "optional": false
1496         }
1497       ],
1498       "private": false,
1499       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Server.js",
1500       "linenr": 132,
1501       "html_filename": "Server.html",
1502       "href": "Server.html#Ext-data-proxy-Server-event-exception",
1503       "shortDoc": "<p>Fires when the server returns an exception</p>\n"
1504     }
1505   ],
1506   "filename": "/Users/nick/Projects/sencha/SDK/platform/src/data/proxy/Ajax.js",
1507   "linenr": 1,
1508   "html_filename": "Ajax2.html",
1509   "href": "Ajax2.html#Ext-data-proxy-Ajax",
1510   "cssVar": [
1511
1512   ],
1513   "cssMixin": [
1514
1515   ],
1516   "component": false,
1517   "superclasses": [
1518     "Ext.data.proxy.Proxy",
1519     "Ext.data.proxy.Server"
1520   ],
1521   "subclasses": [
1522     "Ext.data.proxy.Rest"
1523   ],
1524   "mixedInto": [
1525
1526   ],
1527   "allMixins": [
1528     "Ext.util.Observable"
1529   ]
1530 });