X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..10a866c12701c0a0afd0ac85dcdcf32a421514ac:/docs/output/Ext.data.HttpProxy.html?ds=sidebyside diff --git a/docs/output/Ext.data.HttpProxy.html b/docs/output/Ext.data.HttpProxy.html index 4d3ad3b5..a2092194 100644 --- a/docs/output/Ext.data.HttpProxy.html +++ b/docs/output/Ext.data.HttpProxy.html @@ -1,4 +1,4 @@ -
Observable DataProxy HttpProxy
Package: | Ext.data |
Defined In: | HttpProxy.js |
Class: | HttpProxy |
Extends: | DataProxy |
An implementation of Ext.data.DataProxy that processes data requests within the same +
Observable DataProxy HttpProxy
Package: | Ext.data |
Defined In: | HttpProxy.js |
Class: | HttpProxy |
Extends: | DataProxy |
An implementation of Ext.data.DataProxy that processes data requests within the same domain of the originating page.
Note: this class cannot be used to retrieve data from a domain other than the domain from which the running page was served. For cross-domain requests, use a @@ -63,9 +63,9 @@ myStore.on({ } } }); -
A config object containing one or more event handlers to be added to this object during initialization. This should be a valid listeners config object as specified in the addListener example for attaching multiple handlers at once.
@@ -120,7 +120,7 @@ Ext.DomObserver = Ext.extend(Object, { typeAhead: true, mode: 'local', triggerAction: 'all' -});Defaults to false. Set to true to operate in a RESTful manner.
Note: this parameter will automatically be set to true if the
Ext.data.Store it is plugged into is set to restful: true
. If the
@@ -156,7 +156,7 @@ uses to make requests to the s...
Method | Defined By | |
---|---|---|
HttpProxy( Object conn )
Parameters:
scope : ObjectThe scope in which to call the callback arg : ObjectAn optional argument which is passed to the callback as its second parameter.
| HttpProxy | |
enableBubble( Object events )
+scope : ObjectThe scope ( this reference) in which the callback function is executed. Defaults to the browser window.arg : ObjectAn optional argument which is passed to the callback as its second parameter.
| HttpProxy | |
enableBubble( String/Array events )
:
voidEnables events fired by this Observable to bubble up an owner hierarchy by calling
this.getBubbleTarget() if present... Enables events fired by this Observable to bubble up an owner hierarchy by calling @@ -236,13 +236,13 @@ this.getBubbleTarget() if present... Enables events fi implementation in Ext.Component returns the Component's immediate owner. But if a known target is required, this can be overridden to access the required target more quickly. Example:
Parameters:
| Observable | |
fireEvent( String eventName , Object... args )
+});Parameters:
| Observable | |
fireEvent( String eventName , Object... args )
:
BooleanFires the specified event with the passed parameters (minus the event name).
An event may be set to bubble up an Obse... Fires the specified event with the passed parameters (minus the event name). @@ -282,7 +282,11 @@ the corresponding code for CRUD action.Param
void Deprecated load method using old method signature. See {@doRequest} for preferred method. Deprecated load method using old method signature. See {@doRequest} for preferred method. Parameters:
| DataProxy | |
on( String eventName , Function handler , [Object scope ], [Object options ] )
:
voidAppends an event handler to this object (shorthand for addListener.) Appends an event handler to this object (shorthand for addListener.) Parameters:
| Observable | |
purgeListeners()
+If omitted, defaults to the object which fired the event.options : Object(optional) An object containing handler configuration.
| Observable | |
onRead( String action , Object o , Object res )
+ :
+ voidCallback for read action Callback for read action Parameters:
| HttpProxy | |
onWrite( String action , Object trans , Object res )
+ :
+ voidCallback for write actions Callback for write actions Parameters:
| HttpProxy | |
purgeListeners()
:
void Removes all listeners for this object Removes all listeners for this object Parameters:
| Observable | |
relayEvents( Object o , Array events )
:
@@ -290,7 +294,7 @@ the corresponding code for CRUD action.Param
:
void Removes an event handler. Removes an event handler. Parameters:
| Observable | |
request( String action , Ext.data.Record/Ext.data.Record[]/null rs , Object params , Ext.data.DataReader reader , Function callback , Object scope , Object options )
:
- voidAll proxy actions are executed through this method. Automatically fires the "before" + action event All proxy actions are executed through this method. Automatically fires the "before" + action event Parameters:
| DataProxy | |
resumeEvents()
+ void All proxy actions are executed through this method. Automatically fires the "before" + action event All proxy actions are executed through this method. Automatically fires the "before" + action event Parameters:
| DataProxy | |
resumeEvents()
:
void Resume firing events. (see suspendEvents)
If events were suspended using the queueSuspended parameter, then all
|