Zend\View\Helper\Navigation\Menu::renderSubMenu
Renders the inner-most sub menu for the active page in the $container
This is a convenience method which is equivalent to the following call: <code> renderMenu($container, array( 'indent' => $indent, 'ulClass' => $ulClass, 'minDepth' => null, 'maxDepth' => null, 'onlyActiveBranch' => true, 'renderParents' => false, 'liActiveClass' => $liActiveClass )); </code>
Signature
public function renderSubMenu([AbstractContainer
$container = null,
[string
$ulClass = null,
[string|int
$indent = null,
[string
$liActiveClass = null]]]] )
Parameters
$container
— Zend\Navigation\AbstractContainer- [optional] container to
render. Default is to render
the container registered in
the helper. $ulClass
— string- [optional] CSS class to
use for UL element. Default
is to use the value from
. $indent
— object- [optional] indentation as
a string or number of
spaces. Default is to use
the value retrieved from
. $liActiveClass
— string- [optional] CSS class to
use for UL element. Default
is to use the value from
.
Returns
- string