AjaxDispatcher Class Reference
[Ajax]

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

 $mode
 The way the request was made, either a 'get' or a 'post'.
 $func_name
 Name of the requested handler.
 $args
 Arguments passed.


Detailed Description

Object-Oriented Ajax functions.

Definition at line 20 of file AjaxDispatcher.php.


Constructor & Destructor Documentation

AjaxDispatcher::__construct (  ) 

Load up our object with user supplied data.

Definition at line 31 of file AjaxDispatcher.php.

References wfProfileIn(), and wfProfileOut().


Member Function Documentation

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 80 of file AjaxDispatcher.php.

References $result, $wgAjaxExportList, $wgOut, print, wfDebug(), wfHttpError(), wfProfileIn(), and wfProfileOut().


Member Data Documentation

AjaxDispatcher::$args [private]

Arguments passed.

Definition at line 28 of file AjaxDispatcher.php.

AjaxDispatcher::$func_name [private]

Name of the requested handler.

Definition at line 25 of file AjaxDispatcher.php.

AjaxDispatcher::$mode [private]

The way the request was made, either a 'get' or a 'post'.

Definition at line 22 of file AjaxDispatcher.php.


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

Generated on Sat Sep 5 02:08:29 2009 for MediaWiki by  doxygen 1.5.9