aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-01-27 07:45:05 -0500
committerCash Costello <cash.costello@gmail.com>2012-01-27 07:45:05 -0500
commit1971bda0d74afa534b0149a7533ce04f3890ffec (patch)
tree98af9ee2d652b9251119616adeca4e078c3cce56
parent7cd8ee2360ad7b383af51f69c0dc77260c47314f (diff)
downloadelgg-1971bda0d74afa534b0149a7533ce04f3890ffec.tar.gz
elgg-1971bda0d74afa534b0149a7533ce04f3890ffec.tar.bz2
Fixes #3509 added documentation to menu system about confirm links
-rw-r--r--engine/lib/navigation.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/engine/lib/navigation.php b/engine/lib/navigation.php
index dcbd7b397..a7984ce5a 100644
--- a/engine/lib/navigation.php
+++ b/engine/lib/navigation.php
@@ -78,7 +78,11 @@
* link_class => STR A class or classes for the <a> tag
* item_class => STR A class or classes for the <li> tag
*
- * Custom options can be added as key value pairs.
+ * Additional options that the view output/url takes can be
+ * passed in the array. If the 'confirm' key is passed, the
+ * menu link uses the 'output/confirmlink' view. Custom
+ * options can be added by using the 'data' key with the
+ * value being an associative array.
*
* @return bool
* @since 1.8.0