__toString()
getAcl()
getContainer()
getRenderInvisible()
getRole()
getUseAcl()
hasAcl()
hasContainer()
hasRole()
render()
setAcl()
setContainer()
setRenderInvisible()
setRole()
setUseAcl()
Interface for navigational helpers
__toString() : string
stringgetAcl() : \Zend\Permissions\Acl\AclInterface | null
getContainer() : \Zend\Navigation\AbstractContainer
\Zend\Navigation\AbstractContainernavigation containergetRenderInvisible() : bool
boolgetRole() : string | \Zend\Permissions\Acl\Role\RoleInterface | null
getUseAcl() : bool
boolhasAcl() : bool
boolhasContainer() : bool
boolhasRole() : bool
boolrender(string | \Zend\Navigation\AbstractContainer $container) : string
string\Zend\Navigation\AbstractContainer[optional] container to render. Default is null, which indicates that the helper should render the container returned by {@link getContainer()}.
\Zend\View\Exception\ExceptionInterface |
|---|
stringhelper outputsetAcl(\Zend\Permissions\Acl\AclInterface $acl) : \Zend\View\Helper\Navigation\HelperInterface
setContainer(string | \Zend\Navigation\AbstractContainer $container) : \Zend\View\Helper\Navigation\HelperInterface
string\Zend\Navigation\AbstractContainer[optional] container to operate on. Default is null, which indicates that the container should be reset.
setRenderInvisible(bool $renderInvisible) : \Zend\View\Helper\Navigation\HelperInterface
bool[optional] boolean flag
setRole(mixed $role) : \Zend\View\Helper\Navigation\HelperInterface
mixed[optional] role to set. Expects a string, an instance of type {@link Acl\Role}, or null. Default is null.
\Zend\View\Exception\ExceptionInterface |
if $role is invalid |
|---|
setUseAcl(bool $useAcl) : \Zend\View\Helper\Navigation\HelperInterface
bool[optional] whether ACL should be used. Default is true.