MediaWiki  REL1_20
MWFunction Class Reference

List of all members.

Static Public Member Functions

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

Static Protected Member Functions

static cleanCallback ($callback)

Detailed Description

Definition at line 23 of file MWFunction.php.


Member Function Documentation

static MWFunction::call ( callback) [static]
Parameters:
$callback
Returns:
mixed

Definition at line 53 of file MWFunction.php.

References cleanCallback().

Referenced by MWFunctionTest\testCallingParentFails(), MWFunctionTest\testCallingSelfFails(), and MWFunctionTest\testCallUserFuncWorkarounds().

static MWFunction::callArray ( callback,
argsarams 
) [static]
Parameters:
$callback
$argsarams
Returns:
mixed

Definition at line 66 of file MWFunction.php.

References cleanCallback().

Referenced by MWFunctionTest\testCallUserFuncWorkarounds(), GlobalTest\testFallbackMbstringFunctions(), and wfMessageFallback().

static MWFunction::cleanCallback ( callback) [static, protected]
Parameters:
$callback
Returns:
array
Exceptions:
MWException

Definition at line 30 of file MWFunction.php.

Referenced by call(), and callArray().

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

Definition at line 76 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: