Re: RFC Nested Set manipulation class

From: Date: Wed, 19 Mar 2003 20:41:11 +0000
Subject: Re: RFC Nested Set manipulation class
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-14474@lists.php.net to get a copy of this message
QueryTool and/or DataObject are a bit different, since they directly work on the db, hence to make them container-driven would at least require multiple inheritance, something PHP4 (AFAIK) can't handle.
well, the idea for dataobjects is that you could do DB_DataObject_Tree extends DB_DataObject { ..... } DataObject_MyTree extends DB_DataObject_Tree { .... } and utilize the extend class when building your own dataobject (I might need to alter the generator to allow specific classes to extend different objects.. ) = hence providing 'rich tree' objects.. obviously the slight pain of multiple layers is probably survivable until there is better MI/aggregation support in PHP5 but it would be awesome :) Regards Alan -- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com

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