note 29864 added to function.aggregate
| From: | php-general at lists dot php dot net | Date: | Thu, 27 Feb 2003 01:50:19 +0000 |
| Subject: | note 29864 added to function.aggregate | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-44587@lists.php.net to get a copy of this message | ||
how can you properly use this for multiple inheritence?
1. it looks like you have to call aggregate every time you create an instance of that object. You
could use some sort of a class factory to handle that but that isnt all that clean.
2. since constructors are excluded would you have to do something like A::A()? But would a call like
that actually effect the variables you just aggregated from class A?
--
http://www.php.net/manual/en/function.aggregate.php
http://master.php.net/manage/user-notes.php?action=edit+29864
http://master.php.net/manage/user-notes.php?action=delete+29864
http://master.php.net/manage/user-notes.php?action=reject+29864