superclass::functionname() syntax question
| From: | patrick | Date: | Sun, 28 May 2000 23:34:28 +0000 |
| Subject: | superclass::functionname() syntax question | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-15878@lists.php.net to get a copy of this message | ||
Is it possible to access superclass attributes as well as
functions? For example, I can call a superclass function with the syntax
superclass::function_name();
But is there a way to access variables in superclasses as well?
Also, I can use the superclass::function_name() syntax in subclass
definitions as well as elsewhere. My question is, is this always a static
function call? Is there a nonstatic syntax for calling a base class
function?
Thanks,
Patrick McCuller