X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..6b044c28b5f26fb99c86c237ffad19741c0f7f3d:/docs/output/Ext.data.JsonWriter.html?ds=inline diff --git a/docs/output/Ext.data.JsonWriter.html b/docs/output/Ext.data.JsonWriter.html index 95c21ca7..21c208e5 100644 --- a/docs/output/Ext.data.JsonWriter.html +++ b/docs/output/Ext.data.JsonWriter.html @@ -1,30 +1,55 @@ -
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 Ajax , Object baseParams , Object/Object[] data )
+ :
+ voidThis method should not need to be called by application code, however it may be useful on occasion to
+override it, or... This method should not need to be called by application code, however it may be useful on occasion to +override it, or augment it with an interceptor or sequence. +The provided implementation encodes the serialized data representing the Store's modified Records into the Ajax request's
+ 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 |