protected function findMenuItem($defaultController, $actions = 'index')
    {
        foreach ((array) $actions as $key => $action) {
            $controller = is_int($key) ? $defaultController : $key;
            $item       = $this->menu->find(array('controller' => $controller, 'action' => $action, 'allowed' => true));

            if ($item) {
                return $item;
            }
        }
    }
protected function findMenuItem($defaultController, $actions = 'index')
    {
        foreach ((array) $actions as $key => $action) {
            $controller = is_int($key) ? $defaultController : $key;
            $item       = $this->menu->find(array('controller' => $controller, 'action' => $action, 'allowed' => true));

            if ($item) {
                return $item;
            }
        }
    }
protected function findMenuItem ( $ defaultController , $ actions = 'index' ) { foreach ( ( array ) $ actions as $ key => $ action ) { $ controller = is_int ( $ key ) ? $ defaultController : $ key ; $ item = $ this -> menu -> find ( array ( 'controller' => $ controller , 'action' => $ action , 'allowed' => true ) ) ; if ( $ item ) { return $ item ; } } }
Finds a specific active menu item

@param string $defaultController
@param string|array $actions
@return \Gems_Menu_SubMenuItem The first that
@deprecated since 1.7.1, use findMenuItems()
Finds a specific active menu item