Element index for package xajax
[ a ]
[ b ]
[ c ]
[ d ]
[ e ]
[ g ]
[ i ]
[ l ]
[ o ]
[ p ]
[ r ]
[ s ]
[ w ]
[ x ]
[ _ ]
_
- _buildObjXml
- in file xajaxResponse.inc.php, method xajaxResponse::_buildObjXml()
Recursively serializes a data structure in XML so it can be sent to the client. It could be thought of as the opposite of xajax::_parseObjXml().
- _callFunction
- in file xajax.inc.php, method xajax::_callFunction()
Calls the function, class method, or object method with the supplied arguments.
- _cmdXML
- in file xajaxResponse.inc.php, method xajaxResponse::_cmdXML()
Generates XML from command data
- _decodeUTF8Data
- in file xajax.inc.php, method xajax::_decodeUTF8Data()
Decodes string data from UTF-8 to the current xajax encoding.
- _detectURI
- in file xajax.inc.php, method xajax::_detectURI()
Returns the current URL based upon the SERVER vars.
- _isFunctionCallable
- in file xajax.inc.php, method xajax::_isFunctionCallable()
Returns true if the function or object callback can be called, false if not.
- _isObjectCallback
- in file xajax.inc.php, method xajax::_isObjectCallback()
Returns true if the function name is associated with an object callback, false if not.
- _parseObjXml
- in file xajax.inc.php, method xajax::_parseObjXml()
A recursive function that generates an array from the contents of $this->aObjArray.
- _wrap
- in file xajax.inc.php, method xajax::_wrap()
Generates the Javascript wrapper for the specified PHP function.
- _xmlToArray
- in file xajax.inc.php, method xajax::_xmlToArray()
Takes a string containing xajax xjxobj XML or xjxquery XML and builds an array representation of it to pass as an argument to the PHP function being called.
top
a
- $aFunctionIncludeFiles
- in file xajax.inc.php, variable xajax::$aFunctionIncludeFiles
- $aFunctionRequestTypes
- in file xajax.inc.php, variable xajax::$aFunctionRequestTypes
- $aFunctions
- in file xajax.inc.php, variable xajax::$aFunctions
- $aObjArray
- in file xajax.inc.php, variable xajax::$aObjArray
- $aObjects
- in file xajax.inc.php, variable xajax::$aObjects
- addAlert
- in file xajaxResponse.inc.php, method xajaxResponse::addAlert()
Adds an alert command message to the XML response.
- addAppend
- in file xajaxResponse.inc.php, method xajaxResponse::addAppend()
Adds an append command message to the XML response.
- addAssign
- in file xajaxResponse.inc.php, method xajaxResponse::addAssign()
Adds an assign command message to the XML response.
- addClear
- in file xajaxResponse.inc.php, method xajaxResponse::addClear()
Adds a clear command message to the XML response.
- addConfirmCommands
- in file xajaxResponse.inc.php, method xajaxResponse::addConfirmCommands()
Adds a confirm commands command message to the XML response.
- addCreate
- in file xajaxResponse.inc.php, method xajaxResponse::addCreate()
Adds a create element command message to the XML response.
- addCreateInput
- in file xajaxResponse.inc.php, method xajaxResponse::addCreateInput()
Adds a create input command message to the XML response.
- addCreateOption
- in file customResponseClassTest.php, method customXajaxResponse::addCreateOption()
- addEvent
- in file xajaxResponse.inc.php, method xajaxResponse::addEvent()
Adds an event command message to the XML response.
- addHandler
- in file xajaxResponse.inc.php, method xajaxResponse::addHandler()
Adds a handler command message to the XML response.
- addIncludeScript
- in file xajaxResponse.inc.php, method xajaxResponse::addIncludeScript()
Adds an include script command message to the XML response.
- addInsert
- in file xajaxResponse.inc.php, method xajaxResponse::addInsert()
Adds a insert element command message to the XML response.
- addInsertAfter
- in file xajaxResponse.inc.php, method xajaxResponse::addInsertAfter()
Adds a insert element command message to the XML response.
- addInsertInput
- in file xajaxResponse.inc.php, method xajaxResponse::addInsertInput()
Adds an insert input command message to the XML response.
- addInsertInputAfter
- in file xajaxResponse.inc.php, method xajaxResponse::addInsertInputAfter()
Adds an insert input command message to the XML response.
- addPrepend
- in file xajaxResponse.inc.php, method xajaxResponse::addPrepend()
Adds an prepend command message to the XML response.
- addRedirect
- in file xajaxResponse.inc.php, method xajaxResponse::addRedirect()
Uses the addScript() method to add a Javascript redirect to another URL.
- addRemove
- in file xajaxResponse.inc.php, method xajaxResponse::addRemove()
Adds a remove element command message to the XML response.
- addRemoveHandler
- in file xajaxResponse.inc.php, method xajaxResponse::addRemoveHandler()
Adds a remove handler command message to the XML response.
- addReplace
- in file xajaxResponse.inc.php, method xajaxResponse::addReplace()
Adds a replace command message to the XML response.
- addScript
- in file xajaxResponse.inc.php, method xajaxResponse::addScript()
Adds a Javascript command message to the XML response.
- addScriptCall
- in file xajaxResponse.inc.php, method xajaxResponse::addScriptCall()
Adds a Javascript function call command message to the XML response.
- autoCompressJavascript
- in file xajax.inc.php, method xajax::autoCompressJavascript()
This method can be used to create a new xajax.js file out of the xajax_uncompressed.js file (which will only happen if xajax.js doesn't already exist on the filesystem).
top
top
c
- canProcessRequests
- in file xajax.inc.php, method xajax::canProcessRequests()
Returns true if xajax can process the request, false if otherwise.
- cleanBufferOff
- in file xajax.inc.php, method xajax::cleanBufferOff()
Turns off xajax's output buffer cleaning.
- cleanBufferOn
- in file xajax.inc.php, method xajax::cleanBufferOn()
Causes xajax to clean out all output buffers before outputting a response (default behavior).
- customXajaxResponse
- in file customResponseClassTest.php, class customXajaxResponse
The xajaxResponse class is used to create responses to be sent back to your Web page. A response contains one or more command messages for updating your page.
top
d
- debugOff
- in file xajax.inc.php, method xajax::debugOff()
Disables debug messages for xajax (default behavior).
- debugOn
- in file xajax.inc.php, method xajax::debugOn()
Enables debug messages for xajax.
- decodeUTF8InputOff
- in file xajax.inc.php, method xajax::decodeUTF8InputOff()
Turns off decoding the input request args from UTF-8 (default behavior).
- decodeUTF8InputOn
- in file xajax.inc.php, method xajax::decodeUTF8InputOn()
Causes xajax to decode the input request args from UTF-8 to the current encoding if possible. Either the iconv or mb_string extension must be present for optimal functionality.
top
e
- errorHandlerOff
- in file xajax.inc.php, method xajax::errorHandlerOff()
Turns off xajax's error handling system (default behavior).
- errorHandlerOn
- in file xajax.inc.php, method xajax::errorHandlerOn()
Turns on xajax's error handling system so that PHP errors that occur during a request are trapped and pushed to the browser in the form of a Javascript alert.
- exitAllowedOff
- in file xajax.inc.php, method xajax::exitAllowedOff()
Disables xajax's default behavior of exiting immediately after processing a request and sending the response back to the browser.
- exitAllowedOn
- in file xajax.inc.php, method xajax::exitAllowedOn()
Enables xajax to exit immediately after processing a request and sending the response back to the browser (default behavior).
top
g
- getJavascript
- in file xajax.inc.php, method xajax::getJavascript()
Returns the xajax Javascript code that should be added to your HTML page between the <head> </head> tags.
- getJavascriptConfig
- in file xajax.inc.php, method xajax::getJavascriptConfig()
Returns a string containing inline Javascript that sets up the xajax runtime (typically called internally by xajax from get/printJavascript).
- getJavascriptInclude
- in file xajax.inc.php, method xajax::getJavascriptInclude()
Returns a string containing a Javascript include of the xajax.js file along with a check to see if the file loaded after six seconds (typically called internally by xajax from get/printJavascript).
- getRequestMode
- in file xajax.inc.php, method xajax::getRequestMode()
Returns the current request mode (XAJAX_GET or XAJAX_POST), or -1 if there is none.
- getXML
- in file xajaxResponse.inc.php, method xajaxResponse::getXML()
Returns the XML to be returned from your function to the xajax processor on your page. Since xajax 0.2, you can also return an xajaxResponse object from your function directly, and xajax will automatically request the XML using this method call.
top
top
l
- loadXML
- in file xajaxResponse.inc.php, method xajaxResponse::loadXML()
Adds the commands of the provided response XML output to this response object
top
o
- outputEntitiesOff
- in file xajaxResponse.inc.php, method xajaxResponse::outputEntitiesOff()
Tells the response object to output special characters intact. (default
- outputEntitiesOff
- in file xajax.inc.php, method xajax::outputEntitiesOff()
Tells the response object to output special characters intact. (default behavior).
- outputEntitiesOn
- in file xajaxResponse.inc.php, method xajaxResponse::outputEntitiesOn()
Tells the response object to convert special characters to HTML entities automatically (only works if the mb_string extension is available).
- outputEntitiesOn
- in file xajax.inc.php, method xajax::outputEntitiesOn()
Tells the response object to convert special characters to HTML entities automatically (only works if the mb_string extension is available).
top
p
- printJavascript
- in file xajax.inc.php, method xajax::printJavascript()
Prints the xajax Javascript header and wrapper code into your page by printing the output of the getJavascript() method. It should only be called between the tags in your HTML page.
- processRequests
- in file xajax.inc.php, method xajax::processRequests()
This is the main communications engine of xajax. The engine handles all
top
r
- registerCatchAllFunction
- in file xajax.inc.php, method xajax::registerCatchAllFunction()
Registers a PHP function to be called when xajax cannot find the
- registerExternalFunction
- in file xajax.inc.php, method xajax::registerExternalFunction()
Registers a PHP function to be callable through xajax which is located in some other file. If the function is requested the external file will be included to define the function before the function is called.
- registerFunction
- in file xajax.inc.php, method xajax::registerFunction()
Registers a PHP function or method to be callable through xajax in your
- registerPreFunction
- in file xajax.inc.php, method xajax::registerPreFunction()
Registers a PHP function to be called before xajax calls the requested
top
s
- $sCatchAllFunction
- in file xajax.inc.php, variable xajax::$sCatchAllFunction
- $sEncoding
- in file xajaxResponse.inc.php, variable xajaxResponse::$sEncoding
- $sEncoding
- in file xajax.inc.php, variable xajax::$sEncoding
- $sLogFile
- in file xajax.inc.php, variable xajax::$sLogFile
- $sPreFunction
- in file xajax.inc.php, variable xajax::$sPreFunction
- $sRequestURI
- in file xajax.inc.php, variable xajax::$sRequestURI
- $sWrapperPrefix
- in file xajax.inc.php, variable xajax::$sWrapperPrefix
- setCharEncoding
- in file xajaxResponse.inc.php, method xajaxResponse::setCharEncoding()
Sets the character encoding for the response based on $sEncoding, which
- setCharEncoding
- in file xajax.inc.php, method xajax::setCharEncoding()
Sets the character encoding for the HTTP output based on
- setLogFile
- in file xajax.inc.php, method xajax::setLogFile()
Specifies a log file that will be written to by xajax during a request (used only by the error handling system at present). If you don't invoke this method, or you pass in "", then no log file will be written to.
- setRequestURI
- in file xajax.inc.php, method xajax::setRequestURI()
Sets the URI to which requests will be made.
- setWrapperPrefix
- in file xajax.inc.php, method xajax::setWrapperPrefix()
Sets the prefix that will be appended to the Javascript wrapper functions (default is "xajax_").
- statusMessagesOff
- in file xajax.inc.php, method xajax::statusMessagesOff()
Disables messages in the browser's status bar for xajax (default behavior).
- statusMessagesOn
- in file xajax.inc.php, method xajax::statusMessagesOn()
Enables messages in the browser's status bar for xajax.
top
w
- waitCursorOff
- in file xajax.inc.php, method xajax::waitCursorOff()
Disables the wait cursor to be displayed in the browser.
- waitCursorOn
- in file xajax.inc.php, method xajax::waitCursorOn()
Enables the wait cursor to be displayed in the browser (default behavior).
top
x
- $xml
- in file xajaxResponse.inc.php, variable xajaxResponse::$xml
- xajax.inc.php
- procedural page xajax.inc.php
- xajaxCompress.php
- procedural page xajaxCompress.php
- xajaxResponse.inc.php
- procedural page xajaxResponse.inc.php
- xajax
- in file xajax.inc.php, class xajax
The xajax class generates the xajax javascript for your page including the Javascript wrappers for the PHP functions that you want to call from your page.
- xajax
- in file xajax.inc.php, method xajax::xajax()
Constructor. You can set some extra xajax options right away or use individual methods later to set options.
- xajaxCompressJavascript
- in file xajaxCompress.php, function xajaxCompressJavascript()
Compresses the Javascript code for more efficient delivery.
- xajaxErrorHandler
- in file xajax.inc.php, function xajaxErrorHandler()
This function is registered with PHP's set_error_handler() function if the xajax error handling system is turned on.
- xajaxResponse
- in file xajaxResponse.inc.php, method xajaxResponse::xajaxResponse()
The constructor's main job is to set the character encoding for the response.
- xajaxResponse
- in file xajaxResponse.inc.php, class xajaxResponse
The xajaxResponse class is used to create responses to be sent back to your Web page. A response contains one or more command messages for updating your page.
- XAJAX_DEFAULT_CHAR_ENCODING
- in file xajax.inc.php, constant XAJAX_DEFAULT_CHAR_ENCODING
Define XAJAX_DEFAULT_CHAR_ENCODING that is used by both
- XAJAX_GET
- in file xajax.inc.php, constant XAJAX_GET
Communication Method Defines
- XAJAX_POST
- in file xajax.inc.php, constant XAJAX_POST
top
|
|