Upgrade to ExtJS 3.2.0 - Released 03/30/2010
[extjs.git] / docs / source / Response.html
1 <html>
2 <head>
3   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />    
4   <title>The source code</title>
5     <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
6     <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
7 </head>
8 <body  onload="prettyPrint();">
9     <pre class="prettyprint lang-js">/*!
10  * Ext JS Library 3.2.0
11  * Copyright(c) 2006-2010 Ext JS, Inc.
12  * licensing@extjs.com
13  * http://www.extjs.com/license
14  */
15 <div id="cls-Ext.data.Response"></div>/**
16  * @class Ext.data.Response
17  * A generic response class to normalize response-handling internally to the framework.
18  */
19 Ext.data.Response = function(params) {
20     Ext.apply(this, params);
21 };
22 Ext.data.Response.prototype = {
23     <div id="cfg-Ext.data.Response-action"></div>/**
24      * @cfg {String} action {@link Ext.data.Api#actions}
25      */
26     action: undefined,
27     <div id="cfg-Ext.data.Response-success"></div>/**
28      * @cfg {Boolean} success
29      */
30     success : undefined,
31     <div id="cfg-Ext.data.Response-message"></div>/**
32      * @cfg {String} message
33      */
34     message : undefined,
35     <div id="cfg-Ext.data.Response-data"></div>/**
36      * @cfg {Array/Object} data
37      */
38     data: undefined,
39     <div id="cfg-Ext.data.Response-raw"></div>/**
40      * @cfg {Object} raw The raw response returned from server-code
41      */
42     raw: undefined,
43     <div id="cfg-Ext.data.Response-records"></div>/**
44      * @cfg {Ext.data.Record/Ext.data.Record[]} records related to the Request action
45      */
46     records: undefined
47 };
48 </pre>    
49 </body>
50 </html>