Function Index
Shortcut to xajax.tools.$. Catch any exceptions thrown while attempting to locate an HTML element by it’s unique name. Shorthand for finding a uniquely named element within the document. Shortcut to xajax.tools.$. Magic function for PHP 5.
Returns the current requests URL based upon the SERVER vars. Recursively serializes a data structure in an array so that it can be sent to the browser. Determine if the specified value contains special characters and create a CDATA section so the value can be safely transmitted. Used internally by xajax.tools._getFormValues to extract a single form value. Used internally by xajax.tools.getFormValues to recursively get the value of form elements. Returns the name of the script file, based on the current settings. Inserts an entry into an array given the specified priority number. This function is used internally by xajax to initiate a request to the server. Generate a message indicating that the xajax request is about the be sent to the server. Deserialize a javascript object from an XML node. Generate a message indicating that a javascript object is being converted to xml. Convert a javascript object or array into XML suitable for transmission to the server. Prints an XML representation of a php array suitable for inclusion in the response to the browser. Prints an XML representation of the command. Escape the specified data if necessary, so special characters in the command data does not interfere with the structure of the response. Used internally to print XML start tag. Used internally to generate the command output. Used internally to generate the response headers. Abort the request. Add a LINK reference to the specified .css file if it does not already exist in the HEAD of the current document. Adds a control to the array of child controls. Add a response command to the array of commands that will be sent to the browser. Used internally to add a command to the response command list. Add a parameter value that is the result of calling xajax.getFormValues for the specified form. Add an event handler to the specified element. Adds a xajaxUserFunction object to the list of handlers that will be fired when the event is triggered. Response command used to install an event handler on the specified element. Detect, and add if not found, the prefix ‘on’ from the specified string. Used to add a single option to the options list. Used to add a single option to the options list. Used to add a list of options. Used to add a list of options. Adds a parameter to the list that will be specified for the request generated by this xajaxCall object. Adds a parameter value to the parameter list for this request. Adds a response command that is generated by a plugin. Response command that is used to display an alert message to the user. Append the specified value to an element’s attribute. Response command that indicates the specified data should be appended to the given element’s property. Used, primarily internally, to append one response object onto the end of another. Catch any exceptions thrown during the assignment and display an error message. Assign an element’s attribute to the specified value. Response command indicating that the specified value should be assigned to the given element’s attribute. Creates a new xajax_core, xajax_debug, etc... Initiates a call to the server. Validates that a function name was provided, generates a message indicating that a xajax call is starting and sets a flag in the request object indicating that debugging is enabled for this call. Call a javascript function with a series of parameters using the current script context. Convert call parameters from the 0.2.x syntax to the new improved call format. Call the specified method of the object being referenced using the specified array of arguments. Response command that indicates that the specified javascript function should be called with the given (optional) parameters. Called by the xajaxPlugin that references this function during the request processing phase. Shortcut to xajax.call. Determines if a call is a xajax request or a page load request.
Determines whether or not the current request can be processed by this plugin. Calls each of the request plugins and determines if the current request can be processed by one of them. Called by the xajaxPluginManager when a request has been received to determine if the request is for a xajax enabled function or for the initial page load. Called by the xajaxPluginManager to determine if this plugin can process the current request. Response command used to clear the specified property of the given element. Clear the current response. Removes all attributes assigned to this control. Clears the list of child controls associated with this control. Clear the events that have been associated with this object. Clear the list of parameters being accumulated for this call. Clears the parameter list associated with this request. Clear a callback timer for the specified function. Clears the array of variables that will be used to modify the script before it is printed and sent to the client. Constructs and initializes an instance of this class. Constructor Construct and initialize an instance of the class. Constructs and initializes an instance of the class. Constructs and initializes an instance of the table updater class. Constructs and initializes an instance of the table updater class. Constructs and initializes an instance of the class. Constructs and initializes an instance of the class. Constructs and initializes an instance of the class. Constructs and initializes an instance of the class. Constructs and initializes an instance of the class. Constructs and initializes an instance of the class. Generate a message indicating that the request has completed and provide some statistics regarding the request and response. Called by the response command queue processor when all commands have been processed. Receives configuration settings set by xajax or user script calls to xajax->configure. Receives configuration settings set by xajax or user script calls to xajax->configure. Call this function to set options that will effect the processing of xajax requests. Accepts configuration settings from the main xajax object. Used to set configuration options / call options for each method.
Sets/stores configuration options that will be used when generating the client script that is sent to the browser.
Sets/stores configuration options used by this plugin.
xajax::configure. Call each of the request plugins passing along the configuration setting specified. Called by the xajaxPluginManager when a configuration setting is changing. Called by the xajax object when configuration options are set in the main script. xajax::configure. Call this to set call options for this instance. Set an array of configuration options. Prompt the user with the specified text, if the user responds by clicking cancel, then skip the specified number of commands in the response command queue. Response command that prompts user with [ok] [cancel] style message box. Appends a value to a named member of the current script context object. Response command used to append a value onto the specified member of the javascript context object (or element) specified by the context member of the request. Assign a value to a named member of the current script context object. Response command used to assign a value to a member of a javascript object (or element) that is specified by the context member of the request. Response command used to clear the value of the property specified in the sAttribute parameter. Prepend a value to a named member of the current script context object. Response command used to prepend the speicified data to the given member of the current javascript object specified by context in the current request. Create a blank callback object. Create a new element and append it to the specified parent element. Construct and return a new queue object. Response command used to create a new element on the browser. Create a new input element under the specified parent. Response command used to create an input element on the browser. |