|
MediaWiki
REL1_24
|
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 $args. | |
| Config | $config |
| string | $func_name |
| Name of the requested handler $func_name. | |
| string | $mode |
| The way the request was made, either a 'get' or a 'post' $mode. | |
Object-Oriented Ajax functions.
Definition at line 32 of file AjaxDispatcher.php.
| AjaxDispatcher::__construct | ( | Config $ | config | ) |
Load up our object with user supplied data.
Definition at line 54 of file AjaxDispatcher.php.
References $config, array(), empty, wfProfileIn(), and wfProfileOut().
| 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 104 of file AjaxDispatcher.php.
array AjaxDispatcher::$args [private] |
Arguments passed $args.
Definition at line 45 of file AjaxDispatcher.php.
Config AjaxDispatcher::$config [private] |
Definition at line 49 of file AjaxDispatcher.php.
Referenced by __construct().
string AjaxDispatcher::$func_name [private] |
Name of the requested handler $func_name.
Definition at line 41 of file AjaxDispatcher.php.
string AjaxDispatcher::$mode [private] |
The way the request was made, either a 'get' or a 'post' $mode.
Definition at line 36 of file AjaxDispatcher.php.