X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..f5240829880f87e0cf581c6a296e436fdef0ef80:/docs/output/Ext.data.DataProxy.html diff --git a/docs/output/Ext.data.DataProxy.html b/docs/output/Ext.data.DataProxy.html index 1383aabc..a76ba70a 100644 --- a/docs/output/Ext.data.DataProxy.html +++ b/docs/output/Ext.data.DataProxy.html @@ -1,92 +1,110 @@ -
Properties Methods Events Config Options Direct Link
Observable
  DataProxy

Class Ext.data.DataProxy

Package:Ext.data
Defined In:DataProxy.js
Class:DataProxy
Subclasses:DirectProxy, HttpProxy, MemoryProxy, ScriptTagProxy
Extends:Observable

Abstract base class for implementations which provide retrieval of unformatted data objects. -This class is intended to be extended and should not be created directly. For existing implementations, -see Ext.data.DirectProxy, Ext.data.HttpProxy, Ext.data.ScriptTagProxy and -Ext.data.MemoryProxy.

-

DataProxy implementations are usually used in conjunction with an implementation of Ext.data.DataReader -(of the appropriate type which knows how to parse the data object) to provide a block of -Ext.data.Records to an Ext.data.Store.

-

The parameter to a DataProxy constructor may be an Ext.data.Connection or can also be the -config object to an Ext.data.Connection.

-

Custom implementations must implement either the doRequest method (preferred) or the -load method (deprecated). See -Ext.data.HttpProxy.doRequest or -Ext.data.HttpProxy.load for additional details.

-

Example 1

-
proxy: new Ext.data.ScriptTagProxy({
-    url: 'http://extjs.com/forum/topics-remote.php'

-}),
-

Example 2

-
proxy : new Ext.data.HttpProxy({
-    method: 'GET',
-    prettyUrls: false,
-    url: 'local/default.php', // see options parameter for Ext.Ajax.request

-    api: {
-        // all actions except the following will use above url

-        create  : 'local/new.php',
-        update  : 'local/update.php'
-    }
-}),

Config Options

Config OptionsDefined By
 doRequest : Function
Abstract method that should be implemented in all subclasses -(e.g.: HttpProxy.doRequest, -DirectProxy.doRequest).
DataProxy

Public Events

EventDefined By
\ No newline at end of file