From 9d354371676ccf6181eb67447ca4c76e56c59f1b Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Thu, 26 Mar 2009 17:42:17 +0000 Subject: Update comments to reflect that the results of item::children or item::descendants uses the specified sort order --- core/models/item.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/models') diff --git a/core/models/item.php b/core/models/item.php index 2d254a49..0f7c24fe 100644 --- a/core/models/item.php +++ b/core/models/item.php @@ -397,7 +397,7 @@ class Item_Model extends ORM_MPTT { } /** - * Return all of the children of this node, ordered by id. + * Return all of the children of this node, ordered by the defined sort order. * * @chainable * @param integer SQL limit @@ -409,7 +409,7 @@ class Item_Model extends ORM_MPTT { } /** - * Return all of the children of the specified type, ordered by id. + * Return all of the children of the specified type, ordered by the defined sort order. * * @param integer SQL limit * @param integer SQL offset -- cgit v1.2.3