MediaWiki  REL1_24
MWFunction Class Reference

List of all members.

Static Public Member Functions

static call ($callback)
static callArray ($callback, $argsarams)
static newObj ($class, $args=array())

Detailed Description

Definition at line 23 of file MWFunction.php.


Member Function Documentation

static MWFunction::call ( callback) [static]
Deprecated:
since 1.22; use call_user_func()
Parameters:
callable$callback
Returns:
mixed

Definition at line 30 of file MWFunction.php.

References wfDeprecated().

static MWFunction::callArray ( callback,
argsarams 
) [static]
Deprecated:
since 1.22; use call_user_func_array()
Parameters:
callable$callback
array$argsarams
Returns:
mixed

Definition at line 43 of file MWFunction.php.

References wfDeprecated().

static MWFunction::newObj ( class,
args = array() 
) [static]
Parameters:
string$class
array$args
Returns:
object

Definition at line 54 of file MWFunction.php.

Referenced by SpecialPageFactory\getPage(), and MWFunctionTest\testNewObjFunction().


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