Index
Take the parameters passed in the command of the XML response and convert them to parameters of the args object. Catch any exception thrown during the parsing of response command attributes and display an appropriate debug message. Parses the child nodes of the command of the response XML. Provides access to registered response plugins. Attempt to pop an object off the head of the queue. Please see copyright.inc.php for a detailed description, copyright and license information. Example which demonstrates the use of a preFunction. Convert special characters to their HTML equivellents so they will show up in the xajax.debug.window. Prepares the XMLHttpRequest object for this xajax request. Generate a message indicating that the request is being prepared. Prepend the specified value to an element’s attribute. Response command to prepend the specified value onto the given element’s property. Generates and prints the HTML representation of this control and it’s children. Prints the xajax Javascript header and wrapper code into your page. See xajaxIncludeClientScriptPlugin::getJavascriptConfig See xajaxIncludeClientScriptPlugin::getJavascriptInclude Prints the output, generated from the commands added to the response, that will be sent to the browser.
Generates a block of javascript code that can be used to invoke the specified xajax request. While entries exist in the queue, pull and entry out and process it’s command. Returns the array of arguments that were extracted and parsed from the GET or POST data. Called by xajaxResponse when a user script requests the service of a response plugin. Processes request specific parameters and generates the temporary variables needed by xajax to initiate and process the request. Generate a message indicating that the request object is being populated with the parameters provided. This will detect an incoming xajax request, process it and exit. If this is a xajax request (see xajax->canProcessRequest), call the requested PHP function, build the response and send it back to the browser.
Called by the xajaxPluginManager when a request needs to be processed. Calls each of the request plugins to request that they process the current request. Called by the xajaxPluginManager when a request is being processed. Called by the xajaxPluginManager when the current request should be processed. Push a new object into the tail of the buffer maintained by the specified queue object. Push a new object into the head of the buffer maintained by the specified queue object. Response command that causes the browser to navigate to the specified URL. Call this function to register request handlers, including functions, callable objects and events.
Provides a mechanism for functions to be registered and made available to the page via the javascript xajax.request call. Called to register an array of alternate language messages. Call each of the request plugins and give them the opportunity to handle the registration of the specified function, event or callable object. Called by the xajaxPluginManager when a user script when a function, event or callable object is to be registered. Registers an object whose methods will be searched for a match to the incoming request. Assigns a callback function with the specified xajax event. Registers a PHP function or method with the xajax request processor. Script to test callable objects. Registers a plugin. Locate and remove a LINK reference from the current document’s HEAD. Delete an element. Response command used to remove an element from the document. Response command used to remove a LINK reference to a CSS file on the browser. Remove an event handler from an element. Response command used to remove an event handler from an element. Locates a SCRIPT tag in the HEAD of the document which references the specified file and removes it. Response command used to remove a SCRIPT reference to a javascript file on the browser. Search and replace the specified text. Replace a specified value with another value within the given element’s property.
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. The URI that requests will be sent to. The response queue that holds response commands, once received from the server, until they are processed. This array contains a list of status codes returned by the server to indicate that the request failed for some reason. Process the response. Generate a message indicating that a response has been received from the server; provide some statistical data regarding the response and the response time. An array of status codes returned from the server to indicate a request for redirect to another URL. This array contains a list of codes which will be returned from the server upon successful completion of the server portion of the request. Maintains a retry counter for the given object. Rewind the buffer head pointer, effectively reinserting the last retrieved object into the buffer. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||