1 Ext.data.JsonP.Ext_data_writer_Writer({
15 "href": "Writer.html#Ext-data-writer-Writer-cfg-nameProperty",
16 "shortDoc": "This property is used to read the key for each value that will be sent to the server. ...",
18 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/writer/Writer.js",
20 "name": "nameProperty",
21 "owner": "Ext.data.writer.Writer",
22 "doc": "<p>This property is used to read the key for each value that will be sent to the server.\nFor example:</p>\n\n<pre><code>Ext.define('Person', {\n extend: 'Ext.data.Model',\n fields: [{\n name: 'first',\n mapping: 'firstName'\n }, {\n name: 'last',\n mapping: 'lastName'\n }, {\n name: 'age'\n }]\n});\nnew Ext.data.writer.Writer({\n writeAllFields: true,\n nameProperty: 'mapping'\n});\n\n// This will be sent to the server\n{\n firstName: 'first name value',\n lastName: 'last name value',\n age: 1\n}\n\n</code></pre>\n\n\n<p>Defaults to <tt>name</tt>. If the value is not present, the field name will always be used.</p>\n",
24 "html_filename": "Writer.html"
32 "href": "Writer.html#Ext-data-writer-Writer-cfg-writeAllFields",
33 "shortDoc": "True to write all fields from the record to the server. ...",
35 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/writer/Writer.js",
37 "name": "writeAllFields",
38 "owner": "Ext.data.writer.Writer",
39 "doc": "<p>True to write all fields from the record to the server. If set to false it\nwill only send the fields that were modified. Defaults to <tt>true</tt>. Note that any fields that have\n<a href=\"#/api/Ext.data.Field-cfg-persist\" rel=\"Ext.data.Field-cfg-persist\" class=\"docClass\">Ext.data.Field.persist</a> set to false will still be ignored.</p>\n",
41 "html_filename": "Writer.html"
48 "href": "Writer.html#Ext-data-writer-Writer-method-constructor",
51 "shortDoc": "Creates new Writer. ...",
57 "doc": "<p>(optional) Config object.</p>\n",
62 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/writer/Writer.js",
63 "doc": "<p>Creates new Writer.</p>\n",
64 "owner": "Ext.data.writer.Writer",
66 "html_filename": "Writer.html",
78 "href": "Writer.html#Ext-data-writer-Writer-method-getRecordData",
79 "shortDoc": "Formats the data for each record before sending it to the server. ...",
81 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/writer/Writer.js",
87 "doc": "<p>The record that we are writing to the server.</p>\n",
91 "name": "getRecordData",
92 "owner": "Ext.data.writer.Writer",
93 "doc": "<p>Formats the data for each record before sending it to the server. This\nmethod should be overridden to format the data in a way that differs from the default.</p>\n",
97 "doc": "<p>An object literal of name/value keys to be written to the server.\nBy default this method returns the data property on the record.</p>\n"
99 "html_filename": "Writer.html"
106 "href": "Writer.html#Ext-data-writer-Writer-method-write",
107 "shortDoc": "Prepares a Proxy's Ext.data.Request object ...",
109 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/writer/Writer.js",
113 "type": "Ext.data.Request",
115 "doc": "<p>The request object</p>\n",
120 "owner": "Ext.data.writer.Writer",
121 "doc": "<p>Prepares a Proxy's <a href=\"#/api/Ext.data.Request\" rel=\"Ext.data.Request\" class=\"docClass\">Ext.data.Request</a> object</p>\n",
124 "type": "Ext.data.Request",
125 "doc": "<p>The modified request object</p>\n"
127 "html_filename": "Writer.html"
153 "href": "Writer.html#Ext-data-writer-Writer",
155 "Ext.data.writer.Xml",
156 "Ext.data.writer.Json"
159 "author": "Ed Spencer",
161 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/data/writer/Writer.js",
163 "alternateClassNames": [
164 "Ext.data.DataWriter",
167 "name": "Ext.data.writer.Writer",
168 "doc": "<p>Base Writer class used by most subclasses of <a href=\"#/api/Ext.data.proxy.Server\" rel=\"Ext.data.proxy.Server\" class=\"docClass\">Ext.data.proxy.Server</a>. This class is\nresponsible for taking a set of <a href=\"#/api/Ext.data.Operation\" rel=\"Ext.data.Operation\" class=\"docClass\">Ext.data.Operation</a> objects and a <a href=\"#/api/Ext.data.Request\" rel=\"Ext.data.Request\" class=\"docClass\">Ext.data.Request</a>\nobject and modifying that request based on the Operations.</p>\n\n\n\n\n<p>For example a <a href=\"#/api/Ext.data.writer.Json\" rel=\"Ext.data.writer.Json\" class=\"docClass\">Ext.data.writer.Json</a> would format the Operations and their <a href=\"#/api/Ext.data.Model\" rel=\"Ext.data.Model\" class=\"docClass\">Ext.data.Model</a> \ninstances based on the config options passed to the JsonWriter's constructor.</p>\n\n\n\n\n<p>Writers are not needed for any kind of local storage - whether via a\n<a href=\"#/api/Ext.data.proxy.WebStorage\" rel=\"Ext.data.proxy.WebStorage\" class=\"docClass\">Web Storage proxy</a> (see <a href=\"#/api/Ext.data.proxy.LocalStorage\" rel=\"Ext.data.proxy.LocalStorage\" class=\"docClass\">localStorage</a>\nand <a href=\"#/api/Ext.data.proxy.SessionStorage\" rel=\"Ext.data.proxy.SessionStorage\" class=\"docClass\">sessionStorage</a>) or just in memory via a\n<a href=\"#/api/Ext.data.proxy.Memory\" rel=\"Ext.data.proxy.Memory\" class=\"docClass\">MemoryProxy</a>.</p>\n\n",
176 "html_filename": "Writer.html",