|
MediaWiki
REL1_24
|
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 | |
| $version | |
Protected Attributes | |
| $realValue | |
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 31 of file DeprecatedGlobal.php.
References $name, $realValue, $version, and version.
Create a new object to replace this stub object.
Reimplemented from StubObject.
Definition at line 40 of file DeprecatedGlobal.php.
References global, version, and wfDeprecated().
DeprecatedGlobal::$realValue [protected] |
Definition at line 29 of file DeprecatedGlobal.php.
Referenced by __construct().
| DeprecatedGlobal::$version |
Definition at line 29 of file DeprecatedGlobal.php.
Referenced by __construct().