X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..92c2b89db26be16707f4a805d3303ab2531006e1:/docs/output/Ext.data.Connection.html diff --git a/docs/output/Ext.data.Connection.html b/docs/output/Ext.data.Connection.html index 5a90cec8..24ff8f87 100644 --- a/docs/output/Ext.data.Connection.html +++ b/docs/output/Ext.data.Connection.html @@ -1,4 +1,4 @@ -
Observable Connection
Package: | Ext.data |
Defined In: | Connection.js |
Class: | Connection |
Subclasses: | Ajax |
Extends: | Observable |
The class encapsulates a connection to the page's originating domain, allowing requests to be made +
Observable Connection
Package: | Ext.data |
Defined In: | Connection.js |
Class: | Connection |
Subclasses: | Ajax |
Extends: | Observable |
The class encapsulates a connection to the page's originating domain, allowing requests to be made either to a configured URL, or to a URL specified at request time.
Requests made by this class are asynchronous, and will return immediately. No data from the server will be available to the statement immediately following the request call. @@ -91,9 +91,11 @@ The url config may be a function which...
The default
(this
reference) of the function is the scope
option passed to the request method.
Method | Defined By | |
---|---|---|
Connection( Object config )
Parameters:
| Connection | |
abort( [Number transactionId ] )
:
- voidAborts any outstanding request. Aborts any outstanding request. Parameters:
| Connection | |
addEvents( Object object )
+ voidAborts any outstanding request. Aborts any outstanding request. Parameters:
| Connection | |
addEvents( Object|String o , string Optional. )
:
- voidUsed to define events on this Observable Used to define events on this Observable Parameters:
| Observable | |
addListener( String eventName , Function handler , [Object scope ], [Object options ] )
+ voidAdds the specified events to the list of events which this Observable may fire. Adds the specified events to the list of events which this Observable may fire. Parameters:
| Observable | |
addListener( String eventName , Function handler , [Object scope ], [Object options ] )
:
voidAppends an event handler to this object. Appends an event handler to this object. Parameters:
| Observable | |
enableBubble( Object events )
+'click' : this.onClick,
+'mouseover' : this.onMouseOver,
+'mouseout' : this.onMouseOut,
+ scope: this
+});Returns:
| Observable | |
enableBubble( String/Array events )
:
- voidUsed to enable bubbling of events Used to enable bubbling of events Parameters:
| Observable | |
fireEvent( String eventName , Object... args )
+ 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
+ This is commonly used by Ext.Components to bubble events to owner Containers. See Ext.Component.getBubbleTarget. The default +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 )
:
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). @@ -201,8 +235,8 @@ called regardless of success or failure and is passed the following parameters:
|