MediaWiki
1.23.2
|
Object-Oriented Ajax functions. More...
Public Member Functions | |
__construct () | |
Load up our object with user supplied data. More... | |
performAction () | |
Pass the request to our internal function. More... | |
Private Attributes | |
array | $args |
Arguments passed $args. More... | |
string | $func_name |
Name of the requested handler $func_name. More... | |
string | $mode |
The way the request was made, either a 'get' or a 'post' $mode. More... | |
Object-Oriented Ajax functions.
Definition at line 32 of file AjaxDispatcher.php.
AjaxDispatcher::__construct | ( | ) |
Load up our object with user supplied data.
Definition at line 50 of file AjaxDispatcher.php.
References array(), 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 96 of file AjaxDispatcher.php.
References $e, $wgUser, global, User\isEveryoneAllowed(), wfDebug(), wfHttpError(), wfProfileIn(), and wfProfileOut().
|
private |
Arguments passed $args.
Definition at line 45 of file AjaxDispatcher.php.
|
private |
Name of the requested handler $func_name.
Definition at line 41 of file AjaxDispatcher.php.
|
private |
The way the request was made, either a 'get' or a 'post' $mode.
Definition at line 36 of file AjaxDispatcher.php.