X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..0494b8d9b9bb03ab6c22b34dae81261e3cd7e3e6:/docs/output/Ext.data.XmlWriter.html diff --git a/docs/output/Ext.data.XmlWriter.html b/docs/output/Ext.data.XmlWriter.html index db00a09a..1d4b2a05 100644 --- a/docs/output/Ext.data.XmlWriter.html +++ b/docs/output/Ext.data.XmlWriter.html @@ -1,21 +1,99 @@ -
Properties Methods Events Config Options Direct Link
DataWriter
  XmlWriter

Class Ext.data.XmlWriter

Package:Ext.data
Defined In:XmlWriter.js
Class:XmlWriter
Extends:DataWriter
DataWriter extension for writing an array or single Ext.data.Record object(s) in preparation for executing a remote CRUD action via XML.

Config Options

Config OptionsDefined By
 createRecord : Function
Abstract method that should be implemented in all subclasses +
DataWriter
+  XmlWriter

Class Ext.data.XmlWriter

Package:Ext.data
Defined In:XmlWriter.js
Class:XmlWriter
Extends:DataWriter
DataWriter extension for writing an array or single Ext.data.Record object(s) in preparation for executing a remote CRUD action via XML. +XmlWriter uses an instance of Ext.XTemplate for maximum flexibility in defining your own custom XML schema if the default schema is not appropriate for your needs. +See the tpl configuration-property.

Config Options

Config OptionsDefined By
 createRecord : Function
Abstract method that should be implemented in all subclasses (e.g.: JsonWriter.createRecord)
DataWriter
 destroyRecord : Function
Abstract method that should be implemented in all subclasses -(e.g.: JsonWriter.destroyRecord)
DataWriter
 saveRecord : Function
Abstract method that should be implemented in all subclasses -(e.g.: JsonWriter.saveRecord
DataWriter
 updateRecord : Function
Abstract method that should be implemented in all subclasses +(e.g.: JsonWriter.updateRecord
DataWriter

Public Properties

PropertyDefined By
 meta : Mixed
This DataWriter's configured metadata as passed to the constructor.
DataWriter

Public Methods

MethodDefined By
 xmlEncoding : String
[ISO-8859-15] The encoding written to header of xml documents. +
<?xml version="1.0" encoding="ISO-8859-15"?>
XmlWriter
 xmlVersion : String
[1.0] The version written to header of xml documents. +
<?xml version="1.0" encoding="ISO-8859-15"?>
XmlWriter

Public Properties

This class has no public properties.

Public Methods

MethodDefined By

Public Events

This class has no public events.
\ No newline at end of file + [Object]
Converts a Hashed Ext.data.Record to fields-array array suitable +for encoding to xml via XTemplate, eg: +&lt;tpl for="...
Converts a Hashed Ext.data.Record to fields-array array suitable +for encoding to xml via XTemplate, eg: +
<tpl for="."><{name}>{value}</{name}</tpl>
+eg, non-phantom: +
{id: 1, first: 'foo', last: 'bar'} --> [{name: 'id', value: 1}, {name: 'first', value: 'foo'}, {name: 'last', value: 'bar'}]
+Phantom records will have had their idProperty omitted in toHash if determined to be auto-generated. +Non AUTOINCREMENT pks should have been protected.
Parameters:
  • data : Hash
    Hashed by Ext.data.DataWriter#toHash
Returns:
  • [Object]
    Array of attribute-objects.
DataWriter

Public Events

This class has no public events.
\ No newline at end of file