[dev] DataTree::sortByAttributes()

Duck duck at obala.net
Sun Mar 6 07:07:50 PST 2005


--Boundary-00=_GzxKCVB1iH+l7Da
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


Adds a sortByAttributes method to DataTree_sql. It will reselect the passed 
ids sorted by desiderated attribute_key.  So someone is not forced to select 
all the tree entries and their values, sort it with Horde_Array and then 
slice it to needed part. But we can determinate the IDs needed, before 
creating a number of wasteful objects.

Duck

--Boundary-00=_GzxKCVB1iH+l7Da
Content-Disposition: attachment;
	filename="sql.diff"
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

A non-text attachment was scrubbed...
Name: sql.diff
Type: text/x-diff
Size: 1564 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20050306/d61adbab/sql.bin

--Boundary-00=_GzxKCVB1iH+l7Da--


More information about the dev mailing list