Upgrade to ExtJS 3.0.0 - Released 07/06/2009
[extjs.git] / docs / source / XmlWriter.html
1 <html>\r
2 <head>\r
3   <title>The source code</title>\r
4     <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />\r
5     <script type="text/javascript" src="../resources/prettify/prettify.js"></script>\r
6 </head>\r
7 <body  onload="prettyPrint();">\r
8     <pre class="prettyprint lang-js"><div id="cls-Ext.data.XmlWriter"></div>/**
9  * @class Ext.data.XmlWriter
10  * @extends Ext.data.DataWriter
11  * DataWriter extension for writing an array or single {@link Ext.data.Record} object(s) in preparation for executing a remote CRUD action via XML.
12  */
13 Ext.data.XmlWriter = Ext.extend(Ext.data.DataWriter, {
14     <div id="method-Ext.data.XmlWriter-render"></div>/**
15      * Final action of a write event.  Apply the written data-object to params.
16      * @param {String} action [Ext.data.Api.create|read|update|destroy]
17      * @param {Record[]} rs
18      * @param {Object} http params
19      * @param {Object} data object populated according to DataReader meta-data "root" and "idProperty"
20      */
21     render : function(action, rs, params, data) {
22         // no impl.
23     },
24     <div id="method-Ext.data.XmlWriter-createRecord"></div>/**
25      * createRecord
26      * @param {Ext.data.Record} rec
27      */
28     createRecord : function(rec) {
29         // no impl
30     },
31     <div id="method-Ext.data.XmlWriter-updateRecord"></div>/**
32      * updateRecord
33      * @param {Ext.data.Record} rec
34      */
35     updateRecord : function(rec) {
36         // no impl.
37
38     },
39     <div id="method-Ext.data.XmlWriter-destroyRecord"></div>/**
40      * destroyRecord
41      * @param {Ext.data.Record} rec
42      */
43     destroyRecord : function(rec) {
44         // no impl
45     }
46 });</pre>    \r
47 </body>\r
48 </html>