cunstruct
OCSP_AJAX_FUNCTION
OCSP_AJAX_FUNCTION
( &$ajaxObj, string $funcName, [string $funcInc = ""], [array $funcArgs = NULL], [string $rqMethode = OCSP_AJAX_RQMODE_GET], AJAX $ajaxObj)
-
AJAX
$ajaxObj
-
string
$funcName
-
string
$funcInc: the include file containing the php function
-
array
$funcArgs: (array with NAME => VALUE paires for arguments)
-
string
$rqMethode: the methode of the ajax request
-
&$ajaxObj
string
getFuncName
()
Redefined in descendants as:
returns the values to add to the cache
array
getMyCacheValues
(boolean $debug)
string
getTargetId
()
Redefined in descendants as:
returns the js ajax call
string
js_getAjaxCall
([array $args = NULL], [boolean $debug = FALSE])
-
array
$args
-
boolean
$debug
returns the javascript function name
string
js_getFuncName
()
Redefined in descendants as:
returns the javascript representation of the function
string
js_getFunction
([boolean $debug = FALSE])
Redefined in descendants as:
returns the javascript code to register the function
string
js_getRegisterFunction
()
void
setFuncName
(string $funcName)
void
setRequestUri
(string $aUri)
void
setTargetId
(string $targetId)
Redefined in descendants as: