summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-03-26 17:42:17 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-03-26 17:42:17 +0000
commit9d354371676ccf6181eb67447ca4c76e56c59f1b (patch)
treeaee7fdbac885a7861efb5ba66342ffd64ccff154
parenta142aee609ec078a45303184d8f24dba643249a6 (diff)
Update comments to reflect that the results of item::children or
item::descendants uses the specified sort order
-rw-r--r--core/models/item.php4
1 files changed, 2 insertions, 2 deletions
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