X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..c8256059947f3aa8f5b0a9a2acf55e2142bb4742:/docs/output/Ext.data.JsonWriter.html diff --git a/docs/output/Ext.data.JsonWriter.html b/docs/output/Ext.data.JsonWriter.html index 95c21ca7..7efca77b 100644 --- a/docs/output/Ext.data.JsonWriter.html +++ b/docs/output/Ext.data.JsonWriter.html @@ -1,7 +1,7 @@ -
DataWriter JsonWriter
Package: | Ext.data |
Defined In: | JsonWriter.js |
Class: | JsonWriter |
Extends: | DataWriter |
Config Options | Defined By | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
createRecord : Function Abstract method that should be implemented in all subclasses
+ DataWriter JsonWriter Class Ext.data.JsonWriter
DataWriter extension for writing an array or single Ext.data.Record object(s) in preparation for executing a remote CRUD action. Config Options
Public PropertiesThis class has no public properties. Public Methods
Public EventsThis class has no public events. | DataWriter |
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 )
+ :
+ ObjectImplements abstract Ext.data.DataWriter#createRecord Implements abstract Ext.data.DataWriter#createRecord Parameters:
| JsonWriter | |
destroyRecord( Ext.data.Record rec )
+ :
+ ObjectImplements abstract Ext.data.DataWriter#destroyRecord Implements abstract Ext.data.DataWriter#destroyRecord Parameters:
| JsonWriter | |
render( Object http , Object baseParams , Object/Object[] data )
+ :
+ voidFinal action of a write event. Apply the written data-object to params. Final action of a write event. Apply the written data-object to params. Parameters:
| JsonWriter | |
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 )
+ :
+ ObjectImplements abstract Ext.data.DataWriter#updateRecord Implements abstract Ext.data.DataWriter#updateRecord Parameters:
| JsonWriter |