API DOCS
Function: registerFunction
function registerFunction($mFunction, $sIncludeFile=null)
Parameters:
mFunction
(string or array) The string containing the function name
or an array containing the following
- (string) The function name as it will be called from javascript.- (object, by reference) A reference to an instance of a classcontaining the specified function.- (string) The function as it is found in the class passed in the secondparameter.
sIncludeFile
(string, optional) The server path to the PHP file to include when calling this function. This will enable xajax to loadonly the include file that is needed for this function call, thusreducing server load.
