X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..c8256059947f3aa8f5b0a9a2acf55e2142bb4742:/docs/output/Ext.data.JsonWriter.html diff --git a/docs/output/Ext.data.JsonWriter.html b/docs/output/Ext.data.JsonWriter.html index 1bc9405f..7efca77b 100644 --- a/docs/output/Ext.data.JsonWriter.html +++ b/docs/output/Ext.data.JsonWriter.html @@ -1,4 +1,4 @@ -
Properties Methods Events Config Options Direct Link
DataWriter
  JsonWriter

Class Ext.data.JsonWriter

Package:Ext.data
Defined In:JsonWriter.js
Class:JsonWriter
Extends:DataWriter
DataWriter extension for writing an array or single Ext.data.Record object(s) in preparation for executing a remote CRUD action.

Config Options

Config OptionsDefined By
 createRecord : Function
Abstract method that should be implemented in all subclasses +
DataWriter
  JsonWriter

Class Ext.data.JsonWriter

Package:Ext.data
Defined In:JsonWriter.js
Class:JsonWriter
Extends:DataWriter
DataWriter extension for writing an array or single Ext.data.Record object(s) in preparation for executing a remote CRUD action.

Config Options

Config OptionsDefined 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
 returnJson : Boolean
Deprecated. Use Ext.data.JsonWriter.encode instead.
JsonWriter
 saveRecord : Function
Abstract method that should be implemented in all subclasses -(e.g.: JsonWriter.saveRecord
DataWriter
 updateRecord : Function
Abstract method that should be implemented in all subclasses +(e.g.: JsonWriter.updateRecord
DataWriter

Public Properties

PropertyDefined By
 meta : Mixed
This DataWriter's configured metadata as passed to the constructor.
DataWriter

Public Methods

MethodDefined By

Public Properties

This class has no public properties.

Public Methods

MethodDefined By

Public Events

This class has no public events.
\ No newline at end of file + [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: +
<tpl for="."><{name}>{value}</{name}</tpl>
+eg, non-phantom: +
{id: 1, first: 'foo', last: 'bar'} --> [{name: 'id', value: 1}, {name: 'first', value: 'foo'}, {name: 'last', value: 'bar'}]
+Phantom records will have had their idProperty omitted in toHash if determined to be auto-generated. +Non AUTOINCREMENT pks should have been protected.
Parameters:
  • data : Hash
    Hashed by Ext.data.DataWriter#toHash
Returns:
  • [Object]
    Array of attribute-objects.
DataWriter

Public Events

This class has no public events.
\ No newline at end of file