protected function getEditMenuItems()
    {
        $resets = $this->findMenuItems($this->menuActionController, 'reset');
        foreach ($resets as $resetPw) {
            if ($resetPw instanceof \Gems_Menu_SubMenuItem) {
                $resetPw->set('label', $this->_('password'));
            }
        }
        return array_merge(
                parent::getEditMenuItems(),
                $resets,
                $this->findMenuItems($this->menuActionController, 'mail')
                );
    }
protected function getEditMenuItems()
    {
        $resets = $this->findMenuItems($this->menuActionController, 'reset');
        foreach ($resets as $resetPw) {
            if ($resetPw instanceof \Gems_Menu_SubMenuItem) {
                $resetPw->set('label', $this->_('password'));
            }
        }
        return array_merge(
                parent::getEditMenuItems(),
                $resets,
                $this->findMenuItems($this->menuActionController, 'mail')
                );
    }
protected function getEditMenuItems ( ) { $ resets = $ this -> findMenuItems ( $ this -> menuActionController , 'reset' ) ; foreach ( $ resets as $ resetPw ) { if ( $ resetPw instanceof \ Gems_Menu_SubMenuItem ) { $ resetPw -> set ( 'label' , $ this -> _ ( 'password' ) ) ; } } return array_merge ( parent :: getEditMenuItems ( ) , $ resets , $ this -> findMenuItems ( $ this -> menuActionController , 'mail' ) ) ; }
Returns an edit menu item, if access is allowed by privileges

@return \Gems_Menu_SubMenuItem
Returns an edit menu item if access is allowed by privileges