aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-08 06:08:17 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-08 06:08:17 +0000
commit47d476c3a6a1a58fc7cc0d4078248d83e1ab7de8 (patch)
treee0afdfba7b7568622643451a2708cee523c58761 /engine
parent8d976d6e60bc73a8fe5550b3798afdb6bf54b72a (diff)
downloadelgg-47d476c3a6a1a58fc7cc0d4078248d83e1ab7de8.tar.gz
elgg-47d476c3a6a1a58fc7cc0d4078248d83e1ab7de8.tar.bz2
Added a bit more docs to elgg_view_menu().
git-svn-id: http://code.elgg.org/elgg/trunk@8632 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/views.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/engine/lib/views.php b/engine/lib/views.php
index 758a07e63..09325c2c0 100644
--- a/engine/lib/views.php
+++ b/engine/lib/views.php
@@ -670,8 +670,12 @@ function elgg_view_layout($layout_name, $vars = array()) {
* @param array $vars An associative array of display options for the menu.
* Options include:
* sort_by => string or php callback
- * string options: 'name', 'title' (default), 'order' (registration order)
- * php callback: a compare function for usort
+ * string options: 'name', 'title' (default), 'order' (registration order)
+ * php callback: a compare function for usort
+ * priority: the order the items were registered
+ * handler: the page handler to build action URLs
+ * entity: an ElggEntity to use to build action URLs
+ * class: the class for the entire menu.
*
* @return string
* @since 1.8.0