|
MediaWiki
REL1_20
|
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.
(For example like $wgArticle)
Definition at line 29 of file DeprecatedGlobal.php.
| DeprecatedGlobal::__construct | ( | $ | global, |
| $ | class, | ||
| $ | params = false |
||
| ) |
Constructor.
| $global | String: name of the global variable. |
| $class | String: name of the class of the real object. |
| $params | Array: parameters to pass to contructor of the real object. |
Reimplemented from StubObject.
Definition at line 33 of file DeprecatedGlobal.php.
Create a new object to replace this stub object.
Reimplemented from StubObject.
Definition at line 39 of file DeprecatedGlobal.php.
References wfDeprecated().
DeprecatedGlobal::$mRealValue [protected] |
Definition at line 31 of file DeprecatedGlobal.php.
| DeprecatedGlobal::$mVersion |
Definition at line 31 of file DeprecatedGlobal.php.