1 Ext.data.JsonP.Ext_data_reader_Array({
15 "href": "Reader.html#Ext-data-reader-Reader-cfg-idProperty",
16 "shortDoc": "Name of the property within a row object\nthat contains a record identifier value. ...",
18 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/reader/Reader.js",
21 "owner": "Ext.data.reader.Reader",
22 "doc": "<p>Name of the property within a row object\nthat contains a record identifier value. Defaults to <tt>The id of the model</tt>.\nIf an idProperty is explicitly specified it will override that of the one specified\non the model</p>\n",
24 "html_filename": "Reader.html"
32 "href": "Reader.html#Ext-data-reader-Reader-cfg-implicitIncludes",
33 "shortDoc": "True to automatically parse models nested within other models in a response\nobject. ...",
35 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/reader/Reader.js",
37 "name": "implicitIncludes",
38 "owner": "Ext.data.reader.Reader",
39 "doc": "<p>True to automatically parse models nested within other models in a response\nobject. See the <a href=\"#/api/Ext.data.reader.Reader\" rel=\"Ext.data.reader.Reader\" class=\"docClass\">Ext.data.reader.Reader</a> intro docs for full explanation. Defaults to true.</p>\n",
41 "html_filename": "Reader.html"
49 "href": "Reader.html#Ext-data-reader-Reader-cfg-messageProperty",
50 "shortDoc": "The name of the property which contains a response message. ...",
52 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/reader/Reader.js",
54 "name": "messageProperty",
55 "owner": "Ext.data.reader.Reader",
56 "doc": "<p>The name of the property which contains a response message.\nThis property is optional.</p>\n",
58 "html_filename": "Reader.html"
66 "href": "Json.html#Ext-data-reader-Json-cfg-record",
67 "shortDoc": "The optional location within the JSON response that the record data itself can be found at. ...",
69 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/reader/Json.js",
72 "owner": "Ext.data.reader.Json",
73 "doc": "<p>The optional location within the JSON response that the record data itself can be found at.\nSee the JsonReader intro docs for more details. This is not often needed and defaults to undefined.</p>\n",
75 "html_filename": "Json.html"
83 "href": "Reader.html#Ext-data-reader-Reader-cfg-root",
84 "shortDoc": "Required. ...",
86 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/reader/Reader.js",
89 "owner": "Ext.data.reader.Reader",
90 "doc": "<p><b>Required</b>. The name of the property\nwhich contains the Array of row objects. Defaults to <tt>undefined</tt>.\nAn exception will be thrown if the root property is undefined. The data\npacket value for this property should be an empty array to clear the data\nor show no data.</p>\n",
92 "html_filename": "Reader.html"
100 "href": "Reader.html#Ext-data-reader-Reader-cfg-successProperty",
101 "shortDoc": "Name of the property from which to\nretrieve the success attribute. ...",
103 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/reader/Reader.js",
105 "name": "successProperty",
106 "owner": "Ext.data.reader.Reader",
107 "doc": "<p>Name of the property from which to\nretrieve the success attribute. Defaults to <tt>success</tt>. See\n<a href=\"#/api/Ext.data.proxy.Proxy\" rel=\"Ext.data.proxy.Proxy\" class=\"docClass\">Ext.data.proxy.Proxy</a>.exception\nfor additional information.</p>\n",
109 "html_filename": "Reader.html"
117 "href": "Reader.html#Ext-data-reader-Reader-cfg-totalProperty",
118 "shortDoc": "Name of the property from which to\nretrieve the total number of records in the dataset. ...",
120 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/reader/Reader.js",
122 "name": "totalProperty",
123 "owner": "Ext.data.reader.Reader",
124 "doc": "<p>Name of the property from which to\nretrieve the total number of records in the dataset. This is only needed\nif the whole dataset is not passed in one go, but is being paged from\nthe remote server. Defaults to <tt>total</tt>.</p>\n",
126 "html_filename": "Reader.html"
134 "href": "Json.html#Ext-data-reader-Json-cfg-useSimpleAccessors",
135 "shortDoc": "True to ensure that field names/mappings are treated as literals when\nreading values. ...",
137 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/reader/Json.js",
139 "name": "useSimpleAccessors",
140 "owner": "Ext.data.reader.Json",
141 "doc": "<p>True to ensure that field names/mappings are treated as literals when\nreading values. Defalts to <tt>false</tt>.\nFor example, by default, using the mapping \"foo.bar.baz\" will try and read a property foo from the root, then a property bar\nfrom foo, then a property baz from bar. Setting the simple accessors to true will read the property with the name\n\"foo.bar.baz\" direct from the root object.</p>\n",
143 "html_filename": "Json.html"
150 "href": "Array.html#Ext-data-reader-Array-method-constructor",
153 "shortDoc": "Create a new ArrayReader ...",
159 "doc": "<p>Metadata configuration options.</p>\n",
164 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/reader/Array.js",
165 "doc": "<p>Create a new ArrayReader</p>\n",
166 "owner": "Ext.data.reader.Array",
168 "html_filename": "Array.html",
180 "href": "Reader.html#Ext-data-reader-Reader-method-getResponseData",
181 "shortDoc": "Takes a raw response object (as passed to this.read) and returns the useful data segment of it. ...",
183 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/reader/Reader.js",
189 "doc": "<p>The responce object</p>\n",
193 "name": "getResponseData",
194 "owner": "Ext.data.reader.Reader",
195 "doc": "<p>Takes a raw response object (as passed to this.read) and returns the useful data segment of it. This must be implemented by each subclass</p>\n",
199 "doc": "<p>The useful data from the response</p>\n"
201 "html_filename": "Reader.html"
208 "href": "Reader.html#Ext-data-reader-Reader-method-read",
209 "shortDoc": "Reads the given response object. ...",
211 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/reader/Reader.js",
217 "doc": "<p>The response object. This may be either an XMLHttpRequest object or a plain JS object</p>\n",
222 "owner": "Ext.data.reader.Reader",
223 "doc": "<p>Reads the given response object. This method normalizes the different types of response object that may be passed\nto it, before handing off the reading of records to the <a href=\"#/api/Ext.data.reader.Array-method-readRecords\" rel=\"Ext.data.reader.Array-method-readRecords\" class=\"docClass\">readRecords</a> function.</p>\n",
226 "type": "Ext.data.ResultSet",
227 "doc": "<p>The parsed ResultSet object</p>\n"
229 "html_filename": "Reader.html"
236 "href": "Json.html#Ext-data-reader-Json-method-readRecords",
237 "shortDoc": "Reads a JSON object and returns a ResultSet. ...",
239 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/reader/Json.js",
245 "doc": "<p>The raw JSON data</p>\n",
249 "name": "readRecords",
250 "owner": "Ext.data.reader.Json",
251 "doc": "<p>Reads a JSON object and returns a ResultSet. Uses the internal getTotal and getSuccess extractors to\nretrieve meta data from the response, and extractData to turn the JSON data into model instances.</p>\n",
254 "type": "Ext.data.ResultSet",
255 "doc": "<p>A ResultSet containing model instances and meta data about the results</p>\n"
257 "html_filename": "Json.html"
266 "tagname": "property",
267 "href": "Json.html#Ext-data-reader-Json-property-jsonData",
268 "shortDoc": "DEPRECATED - will be removed in Ext JS 5.0. ...",
270 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/reader/Json.js",
273 "owner": "Ext.data.reader.Json",
274 "doc": "<p>DEPRECATED - will be removed in <a href=\"#/api/Ext\" rel=\"Ext\" class=\"docClass\">Ext</a> JS 5.0. This is just a copy of this.rawData - use that instead</p>\n",
276 "html_filename": "Json.html"
283 "tagname": "property",
284 "href": "Reader.html#Ext-data-reader-Reader-property-rawData",
285 "shortDoc": "The raw data object that was last passed to readRecords. ...",
287 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/reader/Reader.js",
290 "owner": "Ext.data.reader.Reader",
291 "doc": "<p>The raw data object that was last passed to readRecords. Stored for further processing if needed</p>\n",
293 "html_filename": "Reader.html"
309 "Ext.data.reader.Reader",
310 "Ext.data.reader.Json"
317 "href": "Array.html#Ext-data-reader-Array",
322 "author": "Ed Spencer",
324 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/reader/Array.js",
326 "alternateClassNames": [
327 "Ext.data.ArrayReader"
329 "name": "Ext.data.reader.Array",
330 "doc": "<p>Data reader class to create an Array of <a href=\"#/api/Ext.data.Model\" rel=\"Ext.data.Model\" class=\"docClass\">Ext.data.Model</a> objects from an Array.\nEach element of that Array represents a row of data fields. The\nfields are pulled into a Record object using as a subscript, the <code>mapping</code> property\nof the field definition if it exists, or the field's ordinal position in the definition.</p>\n\n\n\n\n<p><u>Example code:</u></p>\n\n\n\n\n<pre><code>Employee = Ext.define('Employee', {\n extend: 'Ext.data.Model',\n fields: [\n 'id',\n {name: 'name', mapping: 1}, // \"mapping\" only needed if an \"id\" field is present which\n {name: 'occupation', mapping: 2} // precludes using the ordinal position as the index. \n ]\n});\n\nvar myReader = new Ext.data.reader.Array({\n model: 'Employee'\n}, Employee);\n</code></pre>\n\n\n\n\n<p>This would consume an Array like this:</p>\n\n\n\n\n<pre><code>[ [1, 'Bill', 'Gardener'], [2, 'Ben', 'Horticulturalist'] ]\n</code></pre>\n\n",
338 "html_filename": "Array.html",
339 "extends": "Ext.data.reader.Json"