}
if (!$object->attribute('can_read')) {
    return $module->handleError(eZError::KERNEL_ACCESS_DENIED, 'kernel');
}
$http = eZHTTPTool::instance();
$tpl = eZTemplate::factory();
$icMap = array();
if ($http->hasSessionVariable('InformationCollectionMap')) {
    $icMap = $http->sessionVariable('InformationCollectionMap');
}
$icID = false;
if (isset($icMap[$object->attribute('id')])) {
    $icID = $icMap[$object->attribute('id')];
}
$informationCollectionTemplate = eZInformationCollection::templateForObject($object);
$attributeHideList = eZInformationCollection::attributeHideList();
$tpl->setVariable('node_id', $nodeID);
$tpl->setVariable('collection_id', $icID);
$tpl->setVariable('node', $node);
$tpl->setVariable('object', $object);
$tpl->setVariable('viewmode', $viewMode);
$tpl->setVariable('view_parameters', $userParameters);
$tpl->setVariable('attribute_hide_list', $attributeHideList);
$tpl->setVariable('error', false);
$section = eZSection::fetch($object->attribute('section_id'));
if ($section) {
    $navigationPartIdentifier = $section->attribute('navigation_part_identifier');
}
$res = eZTemplateDesignResource::instance();
$res->setKeys(array(array('object', $object->attribute('id')), array('node', $node->attribute('node_id')), array('parent_node', $node->attribute('parent_node_id')), array('class', $object->attribute('contentclass_id')), array('class_identifier', $node->attribute('class_identifier')), array('viewmode', $viewMode), array('remote_id', $object->attribute('remote_id')), array('node_remote_id', $node->attribute('remote_id')), array('navigation_part_identifier', $navigationPartIdentifier), array('depth', $node->attribute('depth')), array('url_alias', $node->attribute('url_alias')), array('class_group', $object->attribute('match_ingroup_id_list')), array('state', $object->attribute('state_id_array')), array('state_identifier', $object->attribute('state_identifier_array'))));
$Result = array();