RE: [PEAR-DEV] Pear::Tree - Questions and feature requests

From: Date: Sat, 26 Jul 2003 17:10:48 +0000
Subject: RE: [PEAR-DEV] Pear::Tree - Questions and feature requests
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-18746@lists.php.net to get a copy of this message
> Simon H wrote: > > Hi Wolfram > > > > One more feature request: > > > > As asked before, we have a $whereAddOn, and I've requested a > > $selectAddOn to add more select items to the query...I've also > > realised that there is no way to choose your own id column names. > > > > What I suggest is adding an 'id' to columnNameMaps array like so: > > > > 'columnNameMaps'=>array( > > 'id' => 'myID', > > 'left' => 'l', > > 'right' => 'r', > > 'parentId' => 'parent' > > ) > > i was just roughly looking over the code, but i have found some > getColumnName('id') > calls, so i think you can simply do it > please try and let us know Surely 'id' needs to be added to the columnNameMaps array since this is where the getColumnName() method gets is mapped name from? > -- > Wolfram -- Simon H

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