note 19393 added to keyword.paamayim-nekudotayim
| From: | andre-lacour at andre-lacour dot de | Date: | Tue, 26 Feb 2002 13:31:38 +0000 |
| Subject: | note 19393 added to keyword.paamayim-nekudotayim | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-27062@lists.php.net to get a copy of this message | ||
"Sometimes it is useful to refer to functions and variables in base classes or to refer to
functions in classes that have not yet any instances."
I doubt that this works - as announced - with "variables in base classes". to instance the
variables you have to use the constructor or another function. So if you want to use a class
attribute in a -static used- function it won't work.
--
http://www.php.net/manual/en/keyword.paamayim-nekudotayim.php
http://master.php.net/manage/user-notes.php?action=edit+19393
http://master.php.net/manage/user-notes.php?action=delete+19393
http://master.php.net/manage/user-notes.php?action=reject+19393