} // We get node list when browse is execiuted from search engine ( "search in browse" functionality ) if (isset($Params['NodeList'])) { $nodeList = $Params['NodeList']['SearchResult']; $nodeListCount = $Params['NodeList']['SearchCount']; $requestedURI = $Params['NodeList']['RequestedURI']; $requestedURISuffix = $Params['NodeList']['RequestedURISuffix']; if (isset($Params['NodeID']) && is_numeric($Params['NodeID'])) { $NodeID = $Params['NodeID']; } } else { if (isset($Params['NodeID']) && is_numeric($Params['NodeID'])) { $NodeID = $Params['NodeID']; $browse->setStartNode($NodeID); } $NodeID = $browse->attribute('start_node'); } if (isset($NodeID)) { $node = eZContentObjectTreeNode::fetch($NodeID); if (!$node) { return $Module->handleError(eZError::KERNEL_NOT_AVAILABLE, 'kernel'); } if ($node->attribute('is_invisible') && !eZContentObjectTreeNode::showInvisibleNodes()) { return $Module->handleError(eZError::KERNEL_ACCESS_DENIED, 'kernel'); } $object = $node->attribute('object'); if (!$object) { return $Module->handleError(eZError::KERNEL_NOT_AVAILABLE, 'kernel'); } if (!$object->attribute('can_read') || !$node->attribute('can_read')) { if (!$node->attribute('children_count')) {