| [ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 33 lines (1 kb) |
| Included or required: | 1 time |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
PEAR5:: (1 method):
getStaticProperty()
| getStaticProperty($class, $var) X-Ref |
| 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! param: string $class The calling classname, to prevent clashes param: string $var The variable to retrieve. return: mixed A reference to the variable. If not set it will be |
| Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |