X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6e39d509471fe9b4e2660e0d1631b350d0c66f40..c8256059947f3aa8f5b0a9a2acf55e2142bb4742:/docs/source/ArrayReader.html diff --git a/docs/source/ArrayReader.html b/docs/source/ArrayReader.html index 31801a3e..7417c50e 100644 --- a/docs/source/ArrayReader.html +++ b/docs/source/ArrayReader.html @@ -1,12 +1,18 @@ - -
- -/** + + + ++ \ No newline at end of fileThe source code + + + + +/*! + * Ext JS Library 3.2.1 + * Copyright(c) 2006-2010 Ext JS, Inc. + * licensing@extjs.com + * http://www.extjs.com/license + */ +/** * @class Ext.data.ArrayReader * @extends Ext.data.JsonReader *- +});Data reader class to create an Array of {@link Ext.data.Record} objects from an Array. @@ -60,6 +66,7 @@ Ext.data.ArrayReader = Ext.extend(Ext.data.JsonReader, { recordType = this.recordType, fields = recordType.prototype.fields, records = [], + success = true, v; var root = this.getRoot(o); @@ -88,12 +95,19 @@ Ext.data.ArrayReader = Ext.extend(Ext.data.JsonReader, { totalRecords = v; } } + if(s.successProperty){ + v = this.getSuccess(o); + if(v === false || v === 'false'){ + success = false; + } + } return { + success : success, records : records, totalRecords : totalRecords }; } -});