X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..ddde20c4d4ac6a8d53de079761155de813845b3c:/docs/output/Ext.data.XmlWriter.html diff --git a/docs/output/Ext.data.XmlWriter.html b/docs/output/Ext.data.XmlWriter.html index 0a66a9f0..67e2f648 100644 --- a/docs/output/Ext.data.XmlWriter.html +++ b/docs/output/Ext.data.XmlWriter.html @@ -1,9 +1,18 @@ -
DataWriter XmlWriter
Package: | Ext.data |
Defined In: | XmlWriter.js |
Class: | XmlWriter |
Extends: | DataWriter |
Config Options | Defined By | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
createRecord : Function Abstract method that should be implemented in all subclasses
+ DataWriter XmlWriter Class Ext.data.XmlWriter
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
Public PropertiesThis class has no public properties. Public Methods
Public EventsThis class has no public events.
| XmlWriter |
Method | Defined By | |
---|---|---|
apply( Object params , Object baseParams , String action , Record/Record[] rs )
+ :
+ voidCompiles a Store recordset into a data-format defined by an extension such as Ext.data.JsonWriter or Ext.data.XmlWrit... Compiles a Store recordset into a data-format defined by an extension such as Ext.data.JsonWriter or Ext.data.XmlWriter in preparation for a server-write action. The first two params are similar similar in nature to Ext.apply,
+Where the first parameter is the receiver of paramaters and the second, baseParams, the source. Parameters:
| DataWriter | |
createRecord( Ext.data.Record rec )
+ :
+ ArraycreateRecord createRecord Parameters:
| XmlWriter | |
destroyRecord( Ext.data.Record rec )
+ :
+ ArraydestroyRecord destroyRecord Parameters:
| XmlWriter | |
render( Object params , Object baseParams , Object/Object[] data )
+ :
+ voidXmlWriter implementation of the final stage of a write action. XmlWriter implementation of the final stage of a write action. Parameters:
| XmlWriter | |
toArray( Hash data )
+ :
+ [Object]Converts a Hashed Ext.data.Record to fields-array array suitable
+for encoding to xml via XTemplate, eg:
+<tpl for="... Converts a Hashed Ext.data.Record to fields-array array suitable
+for encoding to xml via XTemplate, eg:
+
+eg, non-phantom:
+
+Phantom records will have had their idProperty omitted in toHash if determined to be auto-generated.
+Non AUTOINCREMENT pks should have been protected.Parameters:
| DataWriter | |
toHash( Ext.data.Record rec , Object config )
+ :
+ ObjectConverts a Record to a hash, taking into account the state of the Ext.data.Record along with configuration properties... Converts a Record to a hash, taking into account the state of the Ext.data.Record along with configuration properties
+related to its rendering, such as writeAllFields, phantom, getChanges and
+idProperty Parameters:
| DataWriter | |
updateRecord( Ext.data.Record rec )
+ :
+ ArrayupdateRecord updateRecord Parameters:
| XmlWriter |