superclass::functionname() syntax question
[email protected] (patrick)
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <[email protected]> |
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