Date: 12/15/00
- Next message: Zeev Suraski: "Re: [PHP-DEV] caller function?"
- Previous message: dron007 <email protected>: "[PHP-DEV] PHP 4.0 Bug #8257: Functions defined in the auto-appended file cannot be called from original file"
- In reply to: Zeev Suraski: "Re: [PHP-DEV] Calling parent's constructor"
- Next in thread: Kristian Köhntopp: "Re: [PHP-DEV] Calling parent's constructor"
- Reply: Kristian Köhntopp: "Re: [PHP-DEV] Calling parent's constructor"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> > This looks sensible. I suggest parent::__parent(),
> >though, to go along with __wakeup(), __sleep(), and __delegate().
>
> At the risk of giving a few people heart attacks from surprise, I'll agree
> with you here. That's the solution I thought about for this issue as
well.
>
Just a thought - If the desired functionality _only_ applies to the parent
class constructor why not just __parent(). On the other hand, this could be
further extended to call any parent class function with
__parent::some_func() and a call to the parent constructor looking like
__parent::__parent().
Regards,
Alan
-- Alan van den Bosch Sanguis Pty Ltd/* All generalisations are false. */
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Zeev Suraski: "Re: [PHP-DEV] caller function?"
- Previous message: dron007 <email protected>: "[PHP-DEV] PHP 4.0 Bug #8257: Functions defined in the auto-appended file cannot be called from original file"
- In reply to: Zeev Suraski: "Re: [PHP-DEV] Calling parent's constructor"
- Next in thread: Kristian Köhntopp: "Re: [PHP-DEV] Calling parent's constructor"
- Reply: Kristian Köhntopp: "Re: [PHP-DEV] Calling parent's constructor"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

