[dev] Re: DataTree _buildLoadQuery extension

Chuck Hagenbuch chuck at horde.org
Mon Mar 7 11:35:46 PST 2005


Quoting Duck <duck at obala.net>:

> Replaced "count" parameter with "special". To not allow only to count the
> number of object of a tree but even to retrive the last object ID of a tree.
> And added a corresonding DataTree::getLast() method.

The patch to DataTree.php is missing... $special needs to be changed to 
$operation, and either passed SQL directly, or you need to define 
constants (DATATREE_MAX, DATATREE_MIN, DATATREE_COUNT, etc). If you 
send this I might get this in sooner, otherwise I'll clean it up when I 
can.

-chuck

-- 
"But she goes not abroad in search of monsters to destroy." - John 
Quincy Adams


More information about the dev mailing list