MediaWiki
REL1_19
|
Object-Oriented Ajax functions. More...
Public Member Functions | |
__construct () | |
Load up our object with user supplied data. | |
performAction () | |
Pass the request to our internal function. | |
Private Attributes | |
$args | |
Arguments passed. | |
$func_name | |
Name of the requested handler. | |
$mode | |
The way the request was made, either a 'get' or a 'post'. |
Object-Oriented Ajax functions.
Definition at line 14 of file AjaxDispatcher.php.
Load up our object with user supplied data.
Definition at line 25 of file AjaxDispatcher.php.
References wfProfileIn(), and wfProfileOut().
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 70 of file AjaxDispatcher.php.
References $result, $wgAjaxExportList, $wgOut, $wgUser, User\getGroupPermissions(), print, wfDebug(), wfHttpError(), wfProfileIn(), and wfProfileOut().
AjaxDispatcher::$args [private] |
Arguments passed.
Definition at line 22 of file AjaxDispatcher.php.
AjaxDispatcher::$func_name [private] |
Name of the requested handler.
Definition at line 19 of file AjaxDispatcher.php.
AjaxDispatcher::$mode [private] |
The way the request was made, either a 'get' or a 'post'.
Definition at line 16 of file AjaxDispatcher.php.