private function _isChildActive($nodes, $parentId)
{
foreach ($nodes as $node) {
if ($node['parentId'] == $parentId) {
// Is current node active?
if (in_array($node['id'], $this->_activeNodeIds[$this->_navigation->handle])) {
return true;
}
// Is any of it's children active?
$childrenResult = $this->_isChildActive($nodes, $node['id']);
if ($childrenResult) {
return true;
}
}
}
return false;
}