Zend\View\Helper\Navigation\AbstractHelper::setRole
Sets ACL role(s) to use when iterating pages
Implements .
Signature
public function setRole([mixed
$role = null] )
Parameters
$role
— mixed- [optional] role to set. Expects a string, an
instance of type , or null. Default
is null, which will set no role.
Returns
- AbstractHelper