X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/530ef4b6c5b943cfa68b779d11cf7de29aa878bf..b37ceabb82336ee82757cd32efe353cfab8ec267:/docs/output/Ext.data.JsonWriter.html diff --git a/docs/output/Ext.data.JsonWriter.html b/docs/output/Ext.data.JsonWriter.html index 7efca77b..31b660c9 100644 --- a/docs/output/Ext.data.JsonWriter.html +++ b/docs/output/Ext.data.JsonWriter.html @@ -1,15 +1,19 @@
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
(e.g.: JsonWriter.createRecord) | DataWriter | |
destroyRecord : Function Abstract method that should be implemented in all subclasses
-(e.g.: JsonWriter.destroyRecord) | DataWriter | |
encode : Boolean true to encode the
-hashed data. Defaults to true. When using
-Ext.data.DirectProxy, set this to false since Ext.Direc... true to encode the
-hashed data. Defaults to true. When using
-Ext.data.DirectProxy, set this to false since Ext.Direct.JsonProvider will perform
+(e.g.: JsonWriter.destroyRecord) | DataWriter | |
encode : Boolean true to JSON encode the
+hashed data into a standard HTTP parameter named after this
+Reader's meta.root property which... true to JSON encode the
+hashed data into a standard HTTP parameter named after this
+Reader's If set to When using Ext.data.DirectProxy, set this to false since Ext.Direct.JsonProvider will perform its own json-encoding. In addition, if you're using Ext.data.HttpProxy, setting to false will cause HttpProxy to transmit data using the jsonData configuration-params of Ext.Ajax.request -instead of params. When using a Ext.data.Store.restful Store, some serverside frameworks are +instead of params. +When using a Ext.data.Store.restful Store, some serverside frameworks are tuned to expect data through the jsonData mechanism. In those cases, one will want to set encode: false, as in -let the lower-level connection object (eg: Ext.Ajax) do the encoding. | JsonWriter | |
encodeDelete : Boolean False to send only the id to the server on delete, true to encode it in an object
+let the lower-level connection object (eg: Ext.Ajax) do the encoding. | JsonWriter | |
encodeDelete : Boolean False to send only the id to the server on delete, true to encode it in an object
literal, eg: {id: 1} Defaults to fa... False to send only the id to the server on delete, true to encode it in an object
literal, eg: Defaults to false | JsonWriter | |
listful : Boolean false by default. Set true to have the DataWriter always write HTTP params as a list,
even when acting upon a single... false by default. Set true to have the DataWriter always write HTTP params as a list,
@@ -24,9 +28,14 @@ Where the first parameter is the receiver of paramaters and the second, b
:
Object Implements 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 )
+ ObjectImplements abstract Ext.data.DataWriter#destroyRecord Implements abstract Ext.data.DataWriter#destroyRecord Parameters:
| JsonWriter | |
render( Object Ajax , 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 )
+ 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:
|