diff options
author | Franz Liedke <franz@develophp.org> | 2011-06-20 22:03:50 +0200 |
---|---|---|
committer | Franz Liedke <franz@develophp.org> | 2011-06-20 22:03:50 +0200 |
commit | c26b3f7cc82f935f0fb5c1e12e63fc2719886397 (patch) | |
tree | 51558cde9be81761a4968bab0579b6e74b03491b /engine | |
parent | 8edfc55bc7ee99955b3c82a59312df8c9d840bb7 (diff) | |
download | elgg-c26b3f7cc82f935f0fb5c1e12e63fc2719886397.tar.gz elgg-c26b3f7cc82f935f0fb5c1e12e63fc2719886397.tar.bz2 |
Add setText() method to ElggMenuItem class. Fixes #3546.
Diffstat (limited to 'engine')
-rw-r--r-- | engine/classes/ElggMenuItem.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/engine/classes/ElggMenuItem.php b/engine/classes/ElggMenuItem.php index 157ed9ceb..caab2223d 100644 --- a/engine/classes/ElggMenuItem.php +++ b/engine/classes/ElggMenuItem.php @@ -153,6 +153,15 @@ class ElggMenuItem { public function getName() { return $this->name; } + + /** + * Set the display text of the menu + * + * @return string + */ + public function setText($text) { + $this->text = $text; + } /** * Get the display text of the menu |