Re: [PHP-DEV] Using grand-parent constructor

2006-10-31 Thread Hannes Magnusson
GrandParent::__construct(); On 10/31/06, Evert | Rooftop <[EMAIL PROTECTED]> wrote: Yes, but I want to ignore Parent behaviour, and Re-inherit GrandParent behaviour.. Evert Jasper Bryant-Greene wrote: > adding parent::__construct() in the constructors of both Parent and > Child should do what

Re: [PHP-DEV] Using grand-parent constructor

2006-10-31 Thread Jochem Maas
Jasper Bryant-Greene wrote: > adding parent::__construct() in the constructors of both Parent and > Child should do what you want. not only that but you 'should' _always_ really be calling the complete constructor chain (e.g. Gparent < Parent < Child) according to "OO theory" - the thought being t

Re: [PHP-DEV] Using grand-parent constructor

2006-10-31 Thread Evert | Rooftop
Yes, but I want to ignore Parent behaviour, and Re-inherit GrandParent behaviour.. Evert Jasper Bryant-Greene wrote: adding parent::__construct() in the constructors of both Parent and Child should do what you want. Jasper Evert | Rooftop wrote: Hi List, Sorry if this is the wrong list f

Re: [PHP-DEV] Using grand-parent constructor

2006-10-31 Thread Jasper Bryant-Greene
adding parent::__construct() in the constructors of both Parent and Child should do what you want. Jasper Evert | Rooftop wrote: > Hi List, > > Sorry if this is the wrong list for this kind of stuff.. I'd be happy to > re-post this to the users mailing list. > > With the recent updates that wil

[PHP-DEV] Using grand-parent constructor

2006-10-31 Thread Evert | Rooftop
Hi List, Sorry if this is the wrong list for this kind of stuff.. I'd be happy to re-post this to the users mailing list. With the recent updates that will raise E_STRICT on static calls that are non static, how do we properly do the following.. I have a class named 'GrandParent' a class na