[ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
The Connection Manager provides a simplified interface to the XMLHttpRequest object. It handles cross-browser instantiantion of XMLHttpRequest, negotiates the interactive states and server response, returning the results to a pre-defined callback you create.
File Size: | 1602 lines (50 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
_swf(uri) X-Ref |
param: {object} o The connection object param: {callback} callback The user-defined callback object return: {void} |
_xdr(o, m, u, c, d) X-Ref |
param: {object} The transaction object. param: {string} HTTP request method. param: {string} URI for the transaction. param: {object} The transaction's callback object. param: {object} The JSON object used as HTTP POST data. return: {void} |
_init(uri) X-Ref |
param: {string} URI to connection.swf. return: {void} |
_xdrReady() X-Ref |
No description |
_xdrStart(o, cb) X-Ref |
param: {object} The transaction object. param: {string} The transaction's callback object. return: {void} |
_handleXdrResponse(r) X-Ref |
param: {object} The response object sent from the Flash transport. return: {void} |
_setForm(formId, isUpload, secureUri) X-Ref |
_resetFormState() X-Ref |
return: {void} |
_createFrame(secureUri) X-Ref |
param: {string} optional qualified path of iframe resource for SSL in IE. return: {void} |
_appendPostData(postData) X-Ref |
param: {string} postData The HTTP POST data return: {array} formElements Collection of hidden fields. |
_uploadFile(o, callback, uri, postData) X-Ref |
param: {int} id The transaction id. param: {object} callback User-defined callback object. param: {string} uri Fully qualified path of resource. param: {string} postData POST data to be submitted in addition to HTML form. return: {void} |
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |