X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..6e39d509471fe9b4e2660e0d1631b350d0c66f40:/src/data/Request.js diff --git a/src/data/Request.js b/src/data/Request.js new file mode 100644 index 00000000..446f9970 --- /dev/null +++ b/src/data/Request.js @@ -0,0 +1,41 @@ +/*! + * Ext JS Library 3.1.0 + * Copyright(c) 2006-2009 Ext JS, LLC + * licensing@extjs.com + * http://www.extjs.com/license + */ +/** + * @class Ext.data.Request + * A simple Request class used internally to the data package to provide more generalized remote-requests + * to a DataProxy. + * TODO Not yet implemented. Implement in Ext.data.Store#execute + */ +Ext.data.Request = function(params) { + Ext.apply(this, params); +}; +Ext.data.Request.prototype = { + /** + * @cfg {String} action + */ + action : undefined, + /** + * @cfg {Ext.data.Record[]/Ext.data.Record} rs The Store recordset associated with the request. + */ + rs : undefined, + /** + * @cfg {Object} params HTTP request params + */ + params: undefined, + /** + * @cfg {Function} callback The function to call when request is complete + */ + callback : Ext.emptyFn, + /** + * @cfg {Object} scope The scope of the callback funtion + */ + scope : undefined, + /** + * @cfg {Ext.data.DataReader} reader The DataReader instance which will parse the received response + */ + reader : undefined +};