X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..10a866c12701c0a0afd0ac85dcdcf32a421514ac:/docs/source/ArrayReader.html?ds=inline diff --git a/docs/source/ArrayReader.html b/docs/source/ArrayReader.html index def831ea..31801a3e 100644 --- a/docs/source/ArrayReader.html +++ b/docs/source/ArrayReader.html @@ -1,17 +1,12 @@ - -
-/*! - * Ext JS Library 3.0.3 - * Copyright(c) 2006-2009 Ext JS, LLC - * licensing@extjs.com - * http://www.extjs.com/license - */ -/** + + + ++ \ No newline at end of fileThe source code + + + + +/** * @class Ext.data.ArrayReader * @extends Ext.data.JsonReader *- +});Data reader class to create an Array of {@link Ext.data.Record} objects from an Array. @@ -62,18 +57,11 @@ Ext.data.ArrayReader = Ext.extend(Ext.data.JsonReader, { this.arrayData = o; var s = this.meta, sid = s ? Ext.num(s.idIndex, s.id) : null, - recordType = this.recordType, + recordType = this.recordType, fields = recordType.prototype.fields, records = [], v; - if(!this.getRoot) { - this.getRoot = s.root ? this.getJsonAccessor(s.root) : function(p) {return p;}; - if(s.totalProperty) { - this.getTotal = this.getJsonAccessor(s.totalProperty); - } - } - var root = this.getRoot(o); for(var i = 0, len = root.length; i < len; i++) { @@ -106,6 +94,6 @@ Ext.data.ArrayReader = Ext.extend(Ext.data.JsonReader, { totalRecords : totalRecords }; } -});