Re: [PEPr] Call for Comments: Structures_Form

From: Date: Wed, 05 Apr 2006 14:40:42 +0000
Subject: Re: [PEPr] Call for Comments: Structures_Form
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-42082@lists.php.net to get a copy of this message
On 4/4/06, Christian Weiske <cweiske@cweiske.de> wrote: > > Too bad that php doesn't allow multiple inheritance - it would have > saved lots of repeated setLabel/getLabel/... methods. I'm still worried about this architecture. Common code *should* be broken out and I have no doubt that the Gtk2 elements could benefit from this. Couldn't you use encapsulation for this? Make a base class for your elements, use normal inheritance and such, and have the actual Gtk2 component a member var of the element class? -- Justin Patrin

« previous php.pear.dev (#42082) next »