MediaWiki  REL1_19
AjaxDispatcher Class Reference

Object-Oriented Ajax functions. More...

List of all members.

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'.

Detailed Description

Object-Oriented Ajax functions.

Definition at line 14 of file AjaxDispatcher.php.


Constructor & Destructor Documentation

Load up our object with user supplied data.

Definition at line 25 of file AjaxDispatcher.php.

References wfProfileIn(), and wfProfileOut().

Here is the call graph for this function:


Member Function Documentation

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().

Here is the call graph for this function:


Member Data Documentation

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.


The documentation for this class was generated from the following file: