API DOCS

DOCS & TUTORIALS » API DOCS » xajax_core » xajaxRequest.inc.php » xajaxCustomRequest

Class: xajaxCustomRequest



This class extends the <xajaxRequest> class such that simple javascript
can be put in place of a xajax request to the server. The primary purpose
of this class is to provide simple scripting services to the <xajaxControl>
based objects, like <clsInput>, <clsTable> and <clsButton>.

variables

functions

xajaxCustomRequest

function xajaxCustomRequest($sScript)

Constructs and initializes an instance of the object.


clearVariables

function clearVariables()

Clears the array of variables that will be used to modify the script before
it is printed and sent to the client.

setVariable

function setVariable($sName, $sValue)

Sets a value that will be used to modify the script before it is sent to
the browser. The object will perform a string
replace operation on each of the values set with this function.


printScript

function printScript()

 



XAJAX on SourceForge.net
Support this project Valid XHTML 1.0 Transitional