X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..92c2b89db26be16707f4a805d3303ab2531006e1:/docs/source/Connection.html diff --git a/docs/source/Connection.html b/docs/source/Connection.html index f5fb1469..9c91d3b7 100644 --- a/docs/source/Connection.html +++ b/docs/source/Connection.html @@ -1,17 +1,12 @@ - -
-/*! - * Ext JS Library 3.0.3 - * Copyright(c) 2006-2009 Ext JS, LLC - * licensing@extjs.com - * http://www.extjs.com/license - */ -(function(){ + + + +The source code + + + + +(function(){ var BEFOREREQUEST = "beforerequest", REQUESTCOMPLETE = "requestcomplete", REQUESTEXCEPTION = "requestexception", @@ -20,7 +15,7 @@ POST = 'POST', GET = 'GET', WINDOW = window; - + /** * @class Ext.data.Connection * @extends Ext.util.Observable @@ -53,7 +48,7 @@ * @constructor * @param {Object} config a configuration object. */ - Ext.data.Connection = function(config){ + Ext.data.Connection = function(config){ Ext.apply(this, config); this.addEvents( /** @@ -117,20 +112,20 @@ * @type Boolean */ autoAbort:false, - + /** * @cfg {Boolean} disableCaching (Optional) True to add a unique cache-buster param to GET requests. (defaults to true) * @type Boolean */ disableCaching: true, - + /** * @cfg {String} disableCachingParam (Optional) Change the parameter which is sent went disabling caching * through a cache buster. Defaults to '_dc' * @type String */ disableCachingParam: '_dc', - + /** *Sends an HTTP request to a remote server.
*Important: Ajax server requests are asynchronous, and this call will @@ -168,8 +163,8 @@ Ext.Ajax.request({ * parameters:
True if the form object is a file upload (will be set automatically if the form was * configured with enctype "multipart/form-data").
@@ -236,15 +231,15 @@ Ext.Ajax.request({ me.indicatorText = 'Common Events you may want to set are:
An example request:
*
@@ -498,7 +500,7 @@ Ext.Ajax.{@link Ext.data.Connection#request request}({
form: 'some-form',
params: 'foo=bar'
});
- *
+ *
*
* @singleton
*/
@@ -580,6 +582,6 @@ Ext.Ajax = new Ext.data.Connection({
return Ext.lib.Ajax.serializeForm(form);
}
});
-
-
+
+
\ No newline at end of file