MediaWiki
REL1_19
|
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...
Static Public Member Functions | |
static | call ($callback) |
static | callArray ($callback, $argsarams) |
static | newObj ($class, $args=array()) |
Static Protected Member Functions | |
static | cleanCallback ($callback) |
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.
static MWFunction::call | ( | $ | callback | ) | [static] |
$callback |
Definition at line 51 of file MWFunction.php.
References cleanCallback().
Referenced by MWFunctionTest\testCallingParentFails(), MWFunctionTest\testCallingSelfFails(), and MWFunctionTest\testCallUserFuncWorkarounds().
static MWFunction::callArray | ( | $ | callback, |
$ | argsarams | ||
) | [static] |
$callback | |
$argsarams |
Definition at line 64 of file MWFunction.php.
References cleanCallback().
Referenced by MWFunctionTest\testCallUserFuncWorkarounds(), GlobalTest\testFallbackMbstringFunctions(), and wfMessageFallback().
static MWFunction::cleanCallback | ( | $ | callback | ) | [static, protected] |
$callback |
MWException |
Definition at line 28 of file MWFunction.php.
Referenced by call(), and callArray().
static MWFunction::newObj | ( | $ | class, |
$ | args = array() |
||
) | [static] |
$class | |
$args | array |
Definition at line 74 of file MWFunction.php.
Referenced by StubObject\_newObject(), SpecialPageFactory\getPage(), MWFunctionTest\testNewObjFunction(), and wfCreateObject().