X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..10a866c12701c0a0afd0ac85dcdcf32a421514ac:/docs/output/Ext.data.JsonWriter.html diff --git a/docs/output/Ext.data.JsonWriter.html b/docs/output/Ext.data.JsonWriter.html index 1bc9405f..201e1ec7 100644 --- a/docs/output/Ext.data.JsonWriter.html +++ b/docs/output/Ext.data.JsonWriter.html @@ -1,29 +1,43 @@ -
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 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 , 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 |