]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Added a bit more docs to elgg_view_menu().
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 8 Mar 2011 06:08:17 +0000 (06:08 +0000)
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 8 Mar 2011 06:08:17 +0000 (06:08 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8632 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/lib/views.php

index 758a07e6331b968e0d8660974652a0efb5e5a2ee..09325c2c05939ae2af9d5801c8dbd49da2fabaab 100644 (file)
@@ -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