MediaWiki  REL1_19
MWFunction Class Reference

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. More...

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

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html

Definition at line 21 of file MWFunction.php.


Member Function Documentation

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

Definition at line 51 of file MWFunction.php.

References cleanCallback().

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 64 of file MWFunction.php.

References cleanCallback().

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 28 of file MWFunction.php.

Referenced by call(), and callArray().

Here is the caller graph for this function:

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

Definition at line 74 of file MWFunction.php.

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

Here is the caller graph for this function:


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