Zend\Navigation\Page\Mvc::isActive
Returns whether page should be considered active or not
This method will compare the page properties against the route matches composed in the object.
Signature
public function isActive([bool
$recursive = false] )
Parameters
$recursive
— object- [optional] whether page should be considered
active if any child pages are active. Default is
false.
Returns
- bool
- whether page should be considered active or not