MediaWiki REL1_37
|
Object-Oriented Ajax functions. More...
Public Member Functions | |
__construct (Config $config) | |
Load up our object with user supplied data. | |
performAction (User $user) | |
Pass the request to our internal function. | |
Private Attributes | |
array | $args |
Arguments passed. | |
Config | $config |
string | $func_name |
Name of the requested handler. | |
string | $mode |
The way the request was made, either a 'get' or a 'post'. | |
Object-Oriented Ajax functions.
Definition at line 37 of file AjaxDispatcher.php.
AjaxDispatcher::__construct | ( | Config | $config | ) |
Load up our object with user supplied data.
Config | $config |
Definition at line 64 of file AjaxDispatcher.php.
References $config.
AjaxDispatcher::performAction | ( | User | $user | ) |
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.
User | $user |
Definition at line 109 of file AjaxDispatcher.php.
References print, wfDebug(), and wfHttpError().
|
private |
Arguments passed.
Definition at line 53 of file AjaxDispatcher.php.
|
private |
Definition at line 58 of file AjaxDispatcher.php.
Referenced by __construct().
|
private |
Name of the requested handler.
Definition at line 48 of file AjaxDispatcher.php.
|
private |
The way the request was made, either a 'get' or a 'post'.
Definition at line 42 of file AjaxDispatcher.php.