Public Member Functions | |
__construct () | |
Load up our object with user supplied data. | |
performAction () | |
Pass the request to our internal function. | |
Private Attributes | |
$mode | |
The way the request was made, either a 'get' or a 'post'. | |
$func_name | |
Name of the requested handler. | |
$args | |
Arguments passed. |
Definition at line 20 of file AjaxDispatcher.php.
AjaxDispatcher::__construct | ( | ) |
Load up our object with user supplied data.
Definition at line 31 of file AjaxDispatcher.php.
References wfProfileIn(), and wfProfileOut().
AjaxDispatcher::performAction | ( | ) |
Pass the request to our internal function.
BEWARE! Data are passed as they have been supplied by the user, they should be carefully handled in the function processing the request.
Definition at line 80 of file AjaxDispatcher.php.
References $result, $wgAjaxExportList, $wgOut, print, wfDebug(), wfHttpError(), wfProfileIn(), and wfProfileOut().
AjaxDispatcher::$args [private] |
AjaxDispatcher::$func_name [private] |
AjaxDispatcher::$mode [private] |
The way the request was made, either a 'get' or a 'post'.
Definition at line 22 of file AjaxDispatcher.php.