Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2013-10-09 13:45:41 +0400
committermattab <matthieu.aubry@gmail.com>2013-10-09 13:45:41 +0400
commit500373c8f5bb32fa8c3488c551f357570c80e78d (patch)
tree12d4ea151445a1849e9ed4a06583a4fa956d3da5 /core/Menu/MenuAbstract.php
parent88a1d58d355430416f352c22ca3e4a6d56032bcc (diff)
Refs #4202 Menu refactor GO. This one is tricky...
Diffstat (limited to 'core/Menu/MenuAbstract.php')
-rw-r--r--core/Menu/MenuAbstract.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Menu/MenuAbstract.php b/core/Menu/MenuAbstract.php
index a0fa8c4c2b..fc4eddb0ca 100644
--- a/core/Menu/MenuAbstract.php
+++ b/core/Menu/MenuAbstract.php
@@ -36,7 +36,7 @@ abstract class MenuAbstract
*
* @return Array
*/
- public function get()
+ public function getMenu()
{
$this->buildMenu();
$this->applyEdits();
@@ -55,7 +55,7 @@ abstract class MenuAbstract
* @param int $order
* @param bool|string $tooltip Tooltip to display.
*/
- public function add($menuName, $subMenuName, $url, $displayedForCurrentUser, $order = 50, $tooltip = false)
+ public function add($menuName, $subMenuName, $url, $displayedForCurrentUser = true, $order = 50, $tooltip = false)
{
if ($displayedForCurrentUser) {
// make sure the idSite value used is numeric (hack-y fix for #3426)