MediaWiki  REL1_22
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:
$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:
$callback
$argsarams
Returns:
mixed

Definition at line 42 of file MWFunction.php.

References wfDeprecated().

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

Definition at line 52 of file MWFunction.php.

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


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