Tariqa
3.0
|
Public Member Functions | |
__construct ($send_user=false) | |
getURLList () | |
addURL ($call_url) | |
setOnBegin ($onBegin) | |
setOnEnd ($onEnd) | |
setProcessResult ($processResult) | |
generate_js () |
Helper class to generate javascript code for a multi ajax call (see multi_ajax.js)
__construct | ( | $ | send_user = false | ) |
Constructs the object
boolean | $send_user | If true, send also the user name through get to the multi AJAX mechanism [OPTIONAL] public |
addURL | ( | $ | call_url | ) |
generate_js | ( | ) |
Generates the javascript code public
getURLList | ( | ) |
Retrieves the list of ursl public
setOnBegin | ( | $ | onBegin | ) |
Sets the javascript code to be called before the URL's are sent to the server
string | $onBegin | The code public |
setOnEnd | ( | $ | onEnd | ) |
Sets the javascript code to be called after all the URL's are processed by the server
string | $onEnd | The code public |
setProcessResult | ( | $ | processResult | ) |
Sets the name of the function to be called to process each result retrieved from the server
string | $processResult | The javascript function name public |