aboutsummaryrefslogtreecommitdiff
path: root/engine/classes
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-06-11 14:01:13 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-06-11 14:01:13 +0000
commita3a84cec2f5424a9195c38f299161278a623913a (patch)
tree72d99c576494429032ca8f1f7911e843830b206e /engine/classes
parent27c507aa645114acd38e3b05e31ffd2c27e242e8 (diff)
downloadelgg-a3a84cec2f5424a9195c38f299161278a623913a.tar.gz
elgg-a3a84cec2f5424a9195c38f299161278a623913a.tar.bz2
sorting plugin settings menu items by text
git-svn-id: http://code.elgg.org/elgg/trunk@9169 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/classes')
-rw-r--r--engine/classes/ElggMenuItem.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/engine/classes/ElggMenuItem.php b/engine/classes/ElggMenuItem.php
index 61dbf539e..caaba49a1 100644
--- a/engine/classes/ElggMenuItem.php
+++ b/engine/classes/ElggMenuItem.php
@@ -420,6 +420,17 @@ class ElggMenuItem {
}
/**
+ * Set the menu item's children
+ *
+ * @param array $children Array of ElggMenuItems
+ *
+ * @return void
+ */
+ public function setChildren($children) {
+ $this->children = $children;
+ }
+
+ /**
* Get the children menu items
*
* @return array