API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
This is only meant for PHP 5 to get rid of certain strict warning that doesn't get hidden since it's in the shutdown function
static& PEAR5::getStaticProperty | ( | $ | class, |
$ | var | ||
) | [static] |
If you have a class that's mostly/entirely static, and you need static properties, you can use this method to simulate them. Eg. in your method(s) do this: $myVar = &PEAR5::getStaticProperty('myclass', 'myVar'); You MUST use a reference, or they will not persist!
public
string | $class | The calling classname, to prevent clashes |
string | $var | The variable to retrieve. |
Références $class.
Référencé par _PEAR_call_destructors(), et PEAR_Error::PEAR_Error().