Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
S
 sAlias, xajaxUserFunction
 save, graffiti
 sCharacterEncoding
 sChildClass, xajaxControlContainer
 sClass, xajaxControl
 sContentType, xajaxCall
 sCoreIncludeOutput, xajax
 scribble
 script, xajaxResponse
 scriptContext.php
 sDefer
 searchReplaceTest.php
 send, xajaxResponseManager
 sendAlert
 sendConfirmCommands
 sEndTag, xajaxControl
 server_events.php
 setAttribute, xajaxControl
 setCharacterEncoding, xajaxResponse
 setCharEncoding, xajax
 setColor
 setContentType, xajaxCall
 setDefault, xajax.config
 setDefaultMethod, xajax
 setDefaultMode, xajax
 setEvent
 setFlag, xajax
 setFlags, xajax
 setFunction
 setLogFile, xajax
 setMode, xajaxCall
 setOutputEntities, xajaxResponse
 setParameter, xajaxRequest
 setRequestType, xajaxCall
 setRequestURI
 setResponse, xajaxResponsePlugin
 setResponseProcessor, xajaxCall
 setReturnValue
 setText, clsOption
 setupTimer, xajax.callback
 setValue, clsOption
 setVariable, xajaxCustomRequest
 setWakeup, xajax.tools.queue
 setWrapperPrefix, xajax
 sEventName, xajax
 sEventPrefix, xajaxEventPlugin
 sFunction, xajaxCall
 sGoogleSiteKey, clsGoogleMap
 sHash, xajaxScriptPlugin
 Sign-up Example
 signup.common.php
 signup.php
 signup.server.php
 sInclude, xajaxUserFunction
 singleQuotes, xajax.tools
 sJavascriptURI
 sLanguage, xajaxLanguageManager
 sleep
 sLogFile, xajax
 sMode, xajaxCall
 sName
 sQuoteCharacter, xajaxRequest
 sRequest, xajaxScriptPlugin
 sRequestedClass, xajaxCallableObjectPlugin
 sRequestedEvent, xajaxEventPlugin
 sRequestedFunction, xajaxFunctionPlugin
 sRequestedMethod, xajaxCallableObjectPlugin
 sRequestType, xajaxCall
 sRequestURI
 sResponseProcessor, xajaxCall
 sReturnValue, xajaxCall
 sScript;, xajaxCustomRequest
 sTag, xajaxControl
 Standard Definitions
 Standard xajax startup
 statusMessages, xajax.config
 stripOnPrefix, xajax.tools
 structure.inc.php
 submitRequest
 sXajaxPrefix
var $sAlias
An alias to use for this function.
function save()
Writes the current graffiti->html to the DATA_FILE when graffiti->isValid or returns an error message.
var $sCharacterEncoding
The character encoding in which the input data will be received.
var $sCharacterEncoding
The name of the encoding method you wish to use when dealing with special characters.
var $sCharacterEncoding
var $sChildClass
Will contain ‘%inline’ if all children are class = ‘%inline’, ‘%block’ if all children are ‘%block’ or ‘%flow’ if both ‘%inline’ and ‘%block’ elements are detected.
var $sClass
Contains a declaration of the class of this control.
var $sContentType
The content type to use for the request.
var $sCoreIncludeOutput
This is populated with any errors or warnings produced while including the xajax core components.
function scribble($aFormValues)
Processes the users form input and passes the values to an instance of the graffiti class.
function script($sJS)
Response command that is used to execute a portion of javascript on the browser.
Test script that uses the context call option to provide an object (or array) that can be manipulated by the following commands via the ‘this’ keyword:
var $sDefer
Used to store the state of the scriptDeferral configuration setting.
var $sDefer
var $sDefer
var $sDefer
Configuration option that can be used to request that the javascript file is loaded after the page has been fully loaded.
Script to test the response command xajaxResponse->replace which will replace a specified piece of text with another.
function send()
Prints the response object to the output stream, thus sending the response to the client.
function sendAlert($sValue)
See clsPage->sendAlert
function sendAlert($sValue)
Generates a xajaxResponse->alert command that displays a message.
function sendConfirmCommands()
See clsPage->sendAlert
function sendConfirmCommands()
Generates a xajaxResponse->confirmCommands command that will prompt the user if they want to see the alert, then a xajaxResponse->alert command.
var $sEndTag
Test script that uses xajax->register to register an event and some event handlers to process requests from the client.
function setAttribute($sName,
$sValue)
Call to set various control specific attributes to be included in the HTML script that is returned when xajaxControl->printHTML or xajaxControl->getHTML is called.
function setCharacterEncoding($sCharacterEncoding)
Overrides the default character encoding (or the one specified in the constructor) to the specified character encoding.
function setCharEncoding($sEncoding)
Sets the character encoding that will be used for the HTTP output.
function setColor($sColor)
Modify the style.color of div1
function setContentType($sContentType)
Sets the content type that will be used by the generated request.
xajax.config.setDefault = function(option,
defaultValue)
This function will set a default configuration option if it is not already set.
function setDefaultMethod($sMethod)
function setDefaultMode($sDefaultMode)
Sets the default mode for requests from the browser.
xajax.events.setEvent = function(command)
Set an event handler.
function setEvent($sEvent,  
&$objRequest,  
$aParameters = array(),
$sBeforeRequest = '',
$sAfterRequest = '; return false;')
Call this function to assign a xajaxRequest object as the handler for the specific DOM event.
function setEvent($sTarget,
$sEvent,
$sScript)
Response command used to set an event handler on the browser.
function setFlag($name,
$value)
Sets a single flag (boolean true or false).
function setFlags($flags)
Sets a series of flags.
xajax.js.setFunction = function(args)
Constructs the specified function using the specified javascript as the body of the function.
function setFunction($sFunction)
Override the function name set in the constructor.
function setFunction($sFunction,
$sArgs,
$sScript)
Response command used to construct a javascript function on the browser.
function setLogFile($sFilename)
Specifies a log file that will be written to by xajax during a request.
function setMode($sMode)
Sets the mode that will be specified for this xajax.call
function setOutputEntities($bOutputEntities)
Convert special characters to their HTML equivellent automatically (only works if the mb_string extension is available).
function setParameter()
Sets a specific parameter value.
function setRequestType($sRequestType)
Sets the request type which will be specified for the generated xajax.call.
function setRequestURI($sRequestURI)
Sets the URI to which requests will be sent.
function setRequestURI($sRequestURI)
Override the default URI with the specified one.
function setResponse(&$objResponse)
Called by the xajaxResponse object that is currently being used to build the response that will be sent to the client browser.
function setResponseProcessor($sResponseProcessor)
Sets the name of the javascript function that will be used to process this response.
function setReturnValue($sReturnValue)
Sets the value that will be returned after the generated call.
function setReturnValue($value)
Stores a value that will be passed back as part of the response.
function setText($sText)
Sets the text to be shown in the select control when this is the selected option.
xajax.callback.setupTimer = function(iDelay)
Create a timer to fire an event in the future.
function setValue($sValue)
Used to set the value associated with this option.
function setVariable($sName,
$sValue)
Sets a value that will be used to modify the script before it is sent to the browser.
xajax.tools.queue.setWakeup = function(theQ,
when)
Set or reset a timeout that is used to restart processing of the queue.
function setWrapperPrefix($sPrefix)
Sets the prefix that will be prepended to the javascript wrapper functions.
(string): The name of the event.
var $sEventPrefix
var $sFunction
Required: The name of the xajax enabled function to call
The key that google has assigned to your site.
var $sHash
Please see copyright.inc.php for a detailed description, copyright and license information.
Example which demonstrates a xajax implementation of a sign-up page.
Example which demonstrates a xajax implementation of a multi-page sign-up.
Example which demonstrates a xajax implementation of a sign-up page.
var $sInclude
The path and file name of the include file that contains the function.
xajax.tools.singleQuotes = function(haystack)
Replace all occurances of the double quote character with a single quote character.
var $sJavascriptURI
Used to store the base URI for where the javascript files are located.
var $sJavascriptURI
Used to store the base URI for where the javascript files are located.
var $sLanguage
The currently configured language.
xajax.js.sleep = function(command)
Causes the processing of items in the queue to be delayed for the specified amount of time.
function sleep($tenths)
Response command which instructs xajax to pause execution of the response commands, returning control to the browser so it can perform other commands asynchronously.
var $sLogFile
A configuration setting tracked by the main xajax object.
var $sMode
The mode to use for the call
var $sName
The name of the event.
var $sName
The name of the function.
var $sQuoteCharacter
A string containing either a single or a double quote character that will be used during the generation of the javascript for this function.
var $sRequest
var $sRequestedClass
var $sRequestedEvent
var $sRequestedFunction
This string is used to temporarily hold the name of the function that is being requested (during the request processing phase).
var $sRequestedMethod
var $sRequestType
The request type that will be used for the call
var $sRequestURI
The URI for where this request will be sent.
var $sRequestURI
var $sResponseProcessor
The name of the javascript function that will be invoked to handle the response.
var $sReturnValue
Required: The value to return once the xajax.call has returned.
var $sTag
xajax.config.setDefault('statusMessages',
false)
xajax.tools.stripOnPrefix = function(sEventName)
Detect, and if found, remove the prefix ‘on’ from the specified string.
xajax.submitRequest = function(oRequest)
Create a request object and submit the request using the specified request type; all request parameters should be finalized by this point.
xajax.debug.submitRequest = xajax.submitRequest; xajax.submitRequest = function(
   oRequest
)
Generate a message indicating that a request is ready to be submitted; providing the URL and the function being invoked.
var $sXajaxPrefix
var $sXajaxPrefix
var $sXajaxPrefix
A configuration setting that is stored locally and used during the client script generation phase.
Close