src/View/Helper/NavHelper.php
protected function _getLevelElement(array $options, $level)
    {
        $levelElement = 'menu_child_' . $level;
        $element      = $options['childMenuAttr']['element'];

        list($plugin, $path) = $this->_View->pluginSplit($element);
        $path    = FS::clean($path, '/');
        $details = explode('/', $path);
        array_pop($details);

        $path = implode('/', $details);

        return $plugin . '.' . $path . '/' . $levelElement;
    }
protected function _getLevelElement(array $options, $level)
    {
        $levelElement = 'menu_child_' . $level;
        $element      = $options['childMenuAttr']['element'];

        list($plugin, $path) = $this->_View->pluginSplit($element);
        $path    = FS::clean($path, '/');
        $details = explode('/', $path);
        array_pop($details);

        $path = implode('/', $details);

        return $plugin . '.' . $path . '/' . $levelElement;
    }
protected function _getLevelElement ( array $ options , $ level ) { $ levelElement = 'menu_child_' . $ level ; $ element = $ options [ 'childMenuAttr' ] [ 'element' ] ; list ( $ plugin , $ path ) = $ this -> _View -> pluginSplit ( $ element ) ; $ path = FS :: clean ( $ path , '/' ) ; $ details = explode ( '/' , $ path ) ; array_pop ( $ details ) ; $ path = implode ( '/' , $ details ) ; return $ plugin . '.' . $ path . '/' . $ levelElement ; }
Get current menu level element.

@param array $options
@param int $level
@return string
Get current menu level element .