API DOCS

DOCS & TUTORIALS » API DOCS » xajax_core » xajaxArgumentManager.inc.php » xajaxArgumentManager

Class: xajaxArgumentManager



This class processes the input arguments from the GET or POST data of
the request. If this is a request for the initial page load, no arguments
will be processed. During a xajax request, any arguments found in the
GET or POST will be converted to a PHP array.

variables

functions

convertStringToBool

function convertStringToBool($sValue)

Converts a string to a bool var.


xajaxArgumentManager

function xajaxArgumentManager()

Initializes configuration settings to their default values and reads
the argument data from the GET or POST data.

getInstance

function &getInstance()

configure

function configure($sName, $mValue)

Accepts configuration settings from the main object.


getRequestMethod

function getRequestMethod()

Returns the method that was used to send the arguments from the client.

process

function process()

Returns the array of arguments that were extracted and parsed from
the GET or POST data.

 



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