/**
  * Render item list 
  * @return void
  */
 protected function renderItemList()
 {
     global $tree, $ilBench;
     $this->html = '';
     $ilBench->start('Lucene', '2000_pr');
     $this->parseResultReferences();
     $ilBench->stop('Lucene', '2000_pr');
     include_once "./Services/Object/classes/class.ilObjectListGUIPreloader.php";
     $preloader = new ilObjectListGUIPreloader(ilObjectListGUI::CONTEXT_SEARCH);
     $set = array();
     foreach ($this->getResults() as $c_ref_id => $obj_id) {
         $ilBench->start('Lucene', '2100_res');
         foreach ($this->getAllReferences($c_ref_id) as $ref_id) {
             $ilBench->start('Lucene', '2120_tree');
             if (!$tree->isInTree($ref_id)) {
                 continue;
             }
             $ilBench->stop('Lucene', '2120_tree');
             $obj_type = ilObject::_lookupType($obj_id);
             $set[] = array("ref_id" => $ref_id, "obj_id" => $obj_id, "title" => $this->lookupTitle($obj_id, 0), "title_sort" => ilObject::_lookupTitle($obj_id), "description" => $this->lookupDescription($obj_id, 0), "type" => $obj_type, "relevance" => $this->getRelevance($obj_id), "s_relevance" => sprintf("%03d", $this->getRelevance($obj_id)));
             $preloader->addItem($obj_id, $obj_type, $ref_id);
         }
         $ilBench->stop('Lucene', '2100_res');
     }
     if (!count($set)) {
         return false;
     }
     $preloader->preload();
     unset($preloader);
     $ilBench->start('Lucene', '2900_tb');
     include_once "./Services/Search/classes/class.ilSearchResultTableGUI.php";
     $result_table = new ilSearchResultTableGUI($this->container, "showSavedResults", $this);
     $result_table->setCustomPreviousNext($this->prev, $this->next);
     $result_table->setData($set);
     $this->thtml = $result_table->getHTML();
     $ilBench->stop('Lucene', '2900_tb');
     return true;
 }
 /**
  * Render item list 
  * @return void
  */
 protected function renderItemList()
 {
     global $tree, $ilBench;
     $this->html = '';
     $ilBench->start('Lucene', '2000_pr');
     $item_html = array();
     $this->parseResultReferences();
     $ilBench->stop('Lucene', '2000_pr');
     $set = $obj_ids = array();
     foreach ($this->getResults() as $c_ref_id => $res_data) {
         $ilBench->start('Lucene', '2100_res');
         foreach ($this->getAllReferences($c_ref_id) as $ref_id) {
             $ilBench->start('Lucene', '2120_tree');
             if (!$tree->isInTree($ref_id)) {
                 continue;
             }
             $ilBench->stop('Lucene', '2120_tree');
             $set[] = array("ref_id" => $ref_id, "obj_id" => $res_data, "title" => $this->lookupTitle($res_data, 0), "title_sort" => ilObject::_lookupTitle($res_data), "description" => $this->lookupDescription($res_data, 0), "type" => ilObject::_lookupType($res_data), "relevance" => $this->getRelevance($res_data), "s_relevance" => sprintf("%03d", $this->getRelevance($res_data)));
             $obj_ids[] = $res_data;
         }
         $ilBench->stop('Lucene', '2100_res');
     }
     if (!count($set)) {
         return false;
     }
     include_once "Services/Tracking/classes/class.ilLPStatus.php";
     ilLPStatus::preloadListGUIData($obj_ids);
     $ilBench->start('Lucene', '2900_tb');
     include_once "./Services/Search/classes/class.ilSearchResultTableGUI.php";
     $result_table = new ilSearchResultTableGUI($this->container, "showSavedResults", $this);
     $result_table->setCustomPreviousNext($this->prev, $this->next);
     $result_table->setData($set);
     $this->thtml = $result_table->getHTML();
     $ilBench->stop('Lucene', '2900_tb');
     return true;
 }