X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/2e847cf21b8ab9d15fa167b315ca5b2fa92638fc..c8256059947f3aa8f5b0a9a2acf55e2142bb4742:/docs/output/Ext.data.DataWriter.html diff --git a/docs/output/Ext.data.DataWriter.html b/docs/output/Ext.data.DataWriter.html index 81274315..9d702c88 100644 --- a/docs/output/Ext.data.DataWriter.html +++ b/docs/output/Ext.data.DataWriter.html @@ -1,4 +1,4 @@ -

Class Ext.data.DataWriter

Package:Ext.data
Defined In:DataWriter.js
Class:DataWriter
Subclasses:JsonWriter, XmlWriter
Extends:Object

Ext.data.DataWriter facilitates create, update, and destroy actions between +

Class Ext.data.DataWriter

Package:Ext.data
Defined In:DataWriter.js
Class:DataWriter
Subclasses:JsonWriter, XmlWriter
Extends:Object

Ext.data.DataWriter facilitates create, update, and destroy actions between an Ext.data.Store and a server-side framework. A Writer enabled Store will automatically manage the Ajax requests to perform CRUD actions on a Store.

Ext.data.DataWriter is an abstract base class which is intended to be extended @@ -84,8 +84,8 @@ for encoding to xml via XTemplate, eg: 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 toHashExt.data.Record Object config ) +Non AUTOINCREMENT pks should have been protected.
Parameters:
  • data : Hash
    Hashed by Ext.data.DataWriter#toHash
Returns:
  • [Object]
    Array of attribute-objects.
DataWriter toHashExt.data.Record recObject config ) : Object
Converts 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:
  • : Ext.data.Record
  • config : Object
    NOT YET IMPLEMENTED. Will implement an exlude/only configuration for fine-control over which fields do/don't get rendered.
Returns:
  • Object
DataWriter

Public Events

This class has no public events.
\ No newline at end of file +idProperty
Parameters:Returns:
DataWriter

Public Events

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