[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/yuilib/2in3/2.9.0/build/yui2-connection/ -> yui2-connection.js (summary)

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: 1572 lines (47 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 11 functions

  _swf()
  _xdr()
  _init()
  _xdrReady()
  _xdrStart()
  _handleXdrResponse()
  _setForm()
  _resetFormState()
  _createFrame()
  _appendPostData()
  _uploadFile()

Functions
Functions that are not part of a class:

_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