Zend\View\Helper\Navigation\AbstractHelper::findActive
Finds the deepest active page in the given container
Signature
Parameters
$container
—
object
- container to search
$minDepth
—
object
- [optional] minimum depth
required for page to be
valid. Default is to use
. A
null value means no minimum
depth required.
$maxDepth
—
integer
- [optional] maximum depth
a page can have to be
valid. Default is to use
. A
null value means no maximum
depth required.
Returns
- array
- an associative array with
the values 'depth' and
'page', or an empty array
if not found