X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..05ce1c11e98b33f14ddee184493bd5a60dc947e2:/docs/output/Ext.data.DataWriter.html diff --git a/docs/output/Ext.data.DataWriter.html b/docs/output/Ext.data.DataWriter.html index c053c4d9..b8166186 100644 --- a/docs/output/Ext.data.DataWriter.html +++ b/docs/output/Ext.data.DataWriter.html @@ -1,4 +1,4 @@ -
Package: | Ext.data |
Defined In: | DataWriter.js |
Class: | DataWriter |
Subclasses: | JsonWriter, XmlWriter |
Extends: | Object |
Ext.data.DataWriter facilitates create, update, and destroy actions between +
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 @@ -28,20 +28,20 @@ and should not be created directly. For existing implementations, see writer: writer });
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 | |
listful : Boolean false by default. Set true to have the DataWriter always write HTTP params as a list,
+(e.g.: JsonWriter.destroyRecord) | DataWriter | |
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,
-even when acting upon a single record. | DataWriter | |
saveRecord : Function Abstract method that should be implemented in all subclasses
-(e.g.: JsonWriter.saveRecord | DataWriter | |
writeAllFields : Boolean false by default. Set true to have DataWriter return ALL fields of a modified
+even when acting upon a single record. | DataWriter | |
updateRecord : Function Abstract method that should be implemented in all subclasses
+(e.g.: JsonWriter.updateRecord | DataWriter | |
writeAllFields : Boolean false by default. Set true to have DataWriter return ALL fields of a modified
record -- not just those that changed.... false by default. Set true to have DataWriter return ALL fields of a modified
record -- not just those that changed.
-false to have DataWriter only request modified fields from a record. | DataWriter |
Property | Defined By | |
---|---|---|
meta : Mixed This DataWriter's configured metadata as passed to the constructor. | DataWriter |
Method | Defined By | |
---|---|---|
DataWriter( Object meta , Object recordType )
+false to have DataWriter only request modified fields from a record. | DataWriter |
Method | Defined By | |
---|---|---|
DataWriter( Object meta , Object recordType )
Create a new DataWriter Create a new DataWriter Parameters:
| DataWriter | |
render( String action , Record[] rs , Object params , Object data )
- :
+using Ext.data.Record.create.Returns:
| DataWriter | |
render( String action , Record[] rs , Object params , Object data )
+ :
voidabstract method meant to be overridden by all DataWriter extensions. It's the extension's job to apply the "data" to... abstract method meant to be overridden by all DataWriter extensions. It's the extension's job to apply the "data" to the "params".
-The data-object provided to render is populated with data according to the meta-info defined in the user's DataReader config, Parameters:
| DataWriter | |
write( String action , Object params , Record/Record[] rs )
- :
- voidWrites data in preparation for server-write action. Simply proxies to DataWriter#update, DataWriter#create
+The data-object provided to render is populated with data according to the meta-info defined in the user's DataReader config, Parameters:
| DataWriter | |
write( String action , Object params , Record/Record[] rs )
+ :
+ voidWrites data in preparation for server-write action. Simply proxies to DataWriter#update, DataWriter#create
DataWrite... Writes data in preparation for server-write action. Simply proxies to DataWriter#update, DataWriter#create
DataWriter#destroy. Parameters:
| DataWriter |