public function configureUserMenu(MenuUser $menu) { if (!Piwik::isUserIsAnonymous()) { $menu->addItem('', 'General_Settings', $this->urlForAction('userSettings'), 0); } }
public function configureUserMenu(MenuUser $menu) { $menu->addItem('General_Help', null, $this->urlForAction('index', array('segment' => false)), $order = 99, $tooltip = Piwik::translate('Feedback_TopLinkTooltip')); }