source:
trunk/workshop-routing-foss4g/web/ext/src/data/Request.js
@
77
| Revision 76, 1.1 KB checked in by djay, 14 years ago (diff) | |
|---|---|
|
|
| Line | |
|---|---|
| 1 | /*! |
| 2 | * Ext JS Library 3.4.0 |
| 3 | * Copyright(c) 2006-2011 Sencha Inc. |
| 4 | * licensing@sencha.com |
| 5 | * http://www.sencha.com/license |
| 6 | */ |
| 7 | /** |
| 8 | * @class Ext.data.Request |
| 9 | * A simple Request class used internally to the data package to provide more generalized remote-requests |
| 10 | * to a DataProxy. |
| 11 | * TODO Not yet implemented. Implement in Ext.data.Store#execute |
| 12 | */ |
| 13 | Ext.data.Request = function(params) { |
| 14 | Ext.apply(this, params); |
| 15 | }; |
| 16 | Ext.data.Request.prototype = { |
| 17 | /** |
| 18 | * @cfg {String} action |
| 19 | */ |
| 20 | action : undefined, |
| 21 | /** |
| 22 | * @cfg {Ext.data.Record[]/Ext.data.Record} rs The Store recordset associated with the request. |
| 23 | */ |
| 24 | rs : undefined, |
| 25 | /** |
| 26 | * @cfg {Object} params HTTP request params |
| 27 | */ |
| 28 | params: undefined, |
| 29 | /** |
| 30 | * @cfg {Function} callback The function to call when request is complete |
| 31 | */ |
| 32 | callback : Ext.emptyFn, |
| 33 | /** |
| 34 | * @cfg {Object} scope The scope of the callback funtion |
| 35 | */ |
| 36 | scope : undefined, |
| 37 | /** |
| 38 | * @cfg {Ext.data.DataReader} reader The DataReader instance which will parse the received response |
| 39 | */ |
| 40 | reader : undefined |
| 41 | }; |
Note: See TracBrowser
for help on using the repository browser.