P | |
parseAttributes | |
parseChildren, xajax. | |
plugin, xajaxResponse | |
pop, xajax. | |
postHeaders, xajax. | |
preFunction test | |
preFunctionTest.php | |
prepareDebugText, xajax. | |
prepareRequest | |
prepend | |
printHTML, xajaxControl | |
printJavascript, xajax | |
printJavascriptConfig, xajaxIncludeClientScript | |
printJavascriptInclude, xajaxIncludeClientScript | |
printOutput, xajaxResponse | |
printScript | |
process | |
Process the request or generate the initial page | |
processFragment, xajax. | |
processParameters | |
processRequest | |
push, xajax. | |
pushFront, xajax. | |
R | |
Redefine shortcuts | |
redirect, xajaxResponse | |
register | |
Register functions | |
registerCallableObject, xajax | |
registerEvent, xajax | |
registerFunction, xajax | |
registerObjectTest.php | |
registerPlugin, xajaxPluginManager | |
remove | |
removeCSS, xajaxResponse | |
removeHandler | |
removeScript | |
replace | |
request | |
requestURI, xajax. | |
response, xajax | |
responseErrorsForAlert, xajax | |
responseReceived | |
responseRedirectCodes, xajax | |
responseSuccessCodes, xajax | |
retry | |
rewind, xajax. |
Catch any exception thrown during the parsing of response command attributes and display an appropriate debug message.
xajax.debug.parseAttributes = xajax.parseAttributes; xajax.parseAttributes = function( child, obj )
Take the parameters passed in the command of the XML response and convert them to parameters of the args object.
xajax.tools.xml.parseAttributes = function( child, obj )
Parses the child nodes of the command of the response XML.
xajax.tools.xml.parseChildren = function( child, obj )
Provides access to registered response plugins.
function &plugin()
Attempt to pop an object off the head of the queue.
xajax.tools.queue.pop = function( theQ )
An array of header entries where the array key is the header option name and the associated value is the value that will set when the request object is initialized.
xajax.config.setDefault( 'postHeaders', {} )
Convert special characters to their HTML equivellents so they will show up in the xajax.debug.window.
xajax.debug.prepareDebugText = function( text )
Prepares the XMLHttpRequest object for this xajax request.
xajax.prepareRequest = function( oRequest )
Generate a message indicating that the request is being prepared.
xajax.debug.prepareRequest = xajax.prepareRequest; xajax.prepareRequest = function( oRequest )
Prepend the specified value to an element’s attribute.
xajax.dom.prepend = function( element, property, data )
Response command to prepend the specified value onto the given element’s property.
function prepend( $sTarget, $sAttribute, $sData )
Generates and prints the HTML representation of this control and it’s children.
function printHTML( $sIndent = '' )
Prints the xajax Javascript header and wrapper code into your page.
function printJavascript( $sJsURI = "", $aJsFiles = array() )
See xajaxIncludeClientScriptPlugin::getJavascriptConfig
function printJavascriptConfig()
See xajaxIncludeClientScriptPlugin::getJavascriptInclude
function printJavascriptInclude()
Prints the output, generated from the commands added to the response, that will be sent to the browser.
function printOutput()
function printScript()
Generates a block of javascript code that can be used to invoke the specified xajax request.
function printScript()
While entries exist in the queue, pull and entry out and process it’s command.
xajax.tools.queue.process = function( theQ )
Returns the array of arguments that were extracted and parsed from the GET or POST data.
function process()
Called by xajaxResponse when a user script requests the service of a response plugin.
function process()
xajax.tools.xml.processFragment = function( xmlNode, seq, oRet, oRequest )
Processes request specific parameters and generates the temporary variables needed by xajax to initiate and process the request.
xajax.processParameters = function( oRequest )
Generate a message indicating that the request object is being populated with the parameters provided.
xajax.debug.processParameters = xajax.processParameters; xajax.processParameters = function( oRequest )
If this is a xajax request (see <xajax->canProcessRequest>), call the requested PHP function, build the response and send it back to the browser.
function processRequest()
function processRequest()
function processRequest()
Called by the xajaxPluginManager when a request needs to be processed.
function processRequest()
Calls each of the request plugins to request that they process the current request.
function processRequest()
Called by the xajaxPluginManager when a request is being processed.
function processRequest()
Called by the xajaxPluginManager when the current request should be processed.
function processRequest()
Push a new object into the tail of the buffer maintained by the specified queue object.
xajax.tools.queue.push = function( theQ, obj )
Push a new object into the head of the buffer maintained by the specified queue object.
xajax.tools.queue.pushFront = function( theQ, obj )
Response command that causes the browser to navigate to the specified URL.
function redirect( $sURL, $iDelay = )
Call this function to register request handlers, including functions, callable objects and events.
function register( $sType, $mArg )
Registers a new command handler.
xajax.command.handler.register = function( shortName, func )
function register( $aArgs )
function register( $aArgs )
Provides a mechanism for functions to be registered and made available to the page via the javascript xajax.request call.
function register( $aArgs )
Called to register an array of alternate language messages.
function register( $sLanguage, $aMessages )
Call each of the request plugins and give them the opportunity to handle the registration of the specified function, event or callable object.
function register( $aArgs )
Called by the xajaxPluginManager when a user script when a function, event or callable object is to be registered.
function register( $aArgs )
Registers an object whose methods will be searched for a match to the incoming request.
function registerCallableObject( & $oObject )
Registers a PHP function or method with the xajax request processor.
function registerFunction( $mFunction, $sIncludeFile = null )
Registers a plugin.
function registerPlugin( & $objPlugin, $nPriority = 1000 )
Locate and remove a LINK reference from the current document’s HEAD.
xajax.css.remove = function( fileName, media )
Delete an element.
xajax.dom.remove = function( element )
Response command used to remove an element from the document.
function remove( $sTarget )
Response command used to remove a LINK reference to a CSS file on the browser.
function removeCSS( $sFileName, $sMedia = null )
Remove an event handler from an element.
xajax.events.removeHandler = function( element, sEvent, fun )
Response command used to remove an event handler from an element.
function removeHandler( $sTarget, $sEvent, $sHandler )
Locates a SCRIPT tag in the HEAD of the document which references the specified file and removes it.
xajax.js.removeScript = function( command )
Response command used to remove a SCRIPT reference to a javascript file on the browser.
function removeScript( $sFileName, $sUnload = '' )
Search and replace the specified text.
xajax.dom.replace = function( element, sAttribute, aData )
Replace a specified value with another value within the given element’s property.
function replace( $sTarget, $sAttribute, $sSearch, $sData )
xajax.request = function()
Validates that a function name was provided, generates a message indicating that a xajax request is starting and sets a flag in the request object indicating that debugging is enabled for this request.
xajax.debug.request = xajax.request; xajax.request = function()
The URI that requests will be sent to.
xajax.config.setDefault( 'requestURI', xajax.config.baseDocument.URL )
The response queue that holds response commands, once received from the server, until they are processed.
xajax.response
This array contains a list of status codes returned by the server to indicate that the request failed for some reason.
xajax.responseErrorsForAlert
Process the response.
xajax.responseReceived = function( oRequest )
Generate a message indicating that a response has been received from the server; provide some statistical data regarding the response and the response time.
xajax.debug.responseReceived = xajax.responseReceived; xajax.responseReceived = function( oRequest )
An array of status codes returned from the server to indicate a request for redirect to another URL.
xajax.responseRedirectCodes
This array contains a list of codes which will be returned from the server upon successful completion of the server portion of the request.
xajax.responseSuccessCodes
Maintains a retry counter for the given object.
xajax.tools.queue.retry = function( obj, count )
Rewind the buffer head pointer, effectively reinserting the last retrieved object into the buffer.
xajax.tools.queue.rewind = function( theQ )