source:
trunk/workshop-routing-foss4g/web/ext/src/data/Response.js
@
80
Revision 76, 892 bytes checked in by djay, 13 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.Response |
9 | * A generic response class to normalize response-handling internally to the framework. |
10 | */ |
11 | Ext.data.Response = function(params) { |
12 | Ext.apply(this, params); |
13 | }; |
14 | Ext.data.Response.prototype = { |
15 | /** |
16 | * @cfg {String} action {@link Ext.data.Api#actions} |
17 | */ |
18 | action: undefined, |
19 | /** |
20 | * @cfg {Boolean} success |
21 | */ |
22 | success : undefined, |
23 | /** |
24 | * @cfg {String} message |
25 | */ |
26 | message : undefined, |
27 | /** |
28 | * @cfg {Array/Object} data |
29 | */ |
30 | data: undefined, |
31 | /** |
32 | * @cfg {Object} raw The raw response returned from server-code |
33 | */ |
34 | raw: undefined, |
35 | /** |
36 | * @cfg {Ext.data.Record/Ext.data.Record[]} records related to the Request action |
37 | */ |
38 | records: undefined |
39 | }; |
Note: See TracBrowser
for help on using the repository browser.