Re: Question regarding OOP and interitance
| From: | Decapode Azur | Date: | Thu, 04 Sep 2003 16:51:05 +0000 |
| Subject: | Re: Question regarding OOP and interitance | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-161671@lists.php.net to get a copy of this message | ||
> FYI ... anything below PHP5 has a pseudo constructor.
And how will it be in PHP5 ?
> Since you are inheriting the class the 'constructor' for the parent class
> should work. If it doesn't (I have not tested it, and neither have
> you)then the class extension can contain a 'contstructor' that is a
> duplicate of the parent class 'constructor' but with the extension name.
> You'll have to test it to make sure.