|
MediaWiki
REL1_23
|
Class to allow throwing wfDeprecated warnings when people use globals that we do not want them to. More...


Public Member Functions | |
| __construct ($name, $realValue, $version=false) | |
| Constructor. | |
| _newObject () | |
| Create a new object to replace this stub object. | |
Public Attributes | |
| $mVersion | |
Protected Attributes | |
| $mRealValue | |
Class to allow throwing wfDeprecated warnings when people use globals that we do not want them to.
Definition at line 28 of file DeprecatedGlobal.php.
| DeprecatedGlobal::__construct | ( | $ | global, |
| $ | class, | ||
| $ | params = false |
||
| ) |
Constructor.
| string | $global | name of the global variable. |
| string | $class | name of the class of the real object. |
| array | $params | parameters to pass to constructor of the real object. |
Reimplemented from StubObject.
Definition at line 32 of file DeprecatedGlobal.php.
References $name.
Create a new object to replace this stub object.
Reimplemented from StubObject.
Definition at line 38 of file DeprecatedGlobal.php.
References wfDeprecated().
DeprecatedGlobal::$mRealValue [protected] |
Definition at line 30 of file DeprecatedGlobal.php.
| DeprecatedGlobal::$mVersion |
Definition at line 30 of file DeprecatedGlobal.php.