From 47d476c3a6a1a58fc7cc0d4078248d83e1ab7de8 Mon Sep 17 00:00:00 2001 From: brettp Date: Tue, 8 Mar 2011 06:08:17 +0000 Subject: Added a bit more docs to elgg_view_menu(). git-svn-id: http://code.elgg.org/elgg/trunk@8632 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/views.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'engine/lib/views.php') 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 -- cgit v1.2.3