__toString()
getAcl()
getContainer()
getRenderInvisible()
getRole()
getUseAcl()
hasAcl()
hasContainer()
hasRole()
render()
setAcl()
setContainer()
setRenderInvisible()
setRole()
setUseAcl()
Interface for navigational helpers
__toString() : string
string
getAcl() : \Zend\Permissions\Acl\AclInterface | null
getContainer() : \Zend\Navigation\AbstractContainer
\Zend\Navigation\AbstractContainer
navigation containergetRenderInvisible() : bool
bool
getRole() : string | \Zend\Permissions\Acl\Role\RoleInterface | null
getUseAcl() : bool
bool
hasAcl() : bool
bool
hasContainer() : bool
bool
hasRole() : bool
bool
render(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 |
---|
string
helper 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.