25 include_once
'./Services/Search/classes/class.ilSearchSettings.php';
61 $this->cmdClass = $a_cmd_class;
76 $_SESSION[
'lucene_search'][
'details'][$a_obj_id] =
true;
88 $_SESSION[
'lucene_search'][
'details'] = array();
101 return isset(
$_SESSION[
'lucene_search'][
'details'][$a_obj_id]) and
$_SESSION[
'lucene_search'][
'details'][$a_obj_id];
121 $this->highlighter = $a_highlighter;
168 if($a_limited and !self::enabledDetails($this->
getObjId()))
170 return array_slice($this->subitem_ids,0,self::$MAX_SUBITEMS);
192 $this->tpl =
new ilTemplate(
'tpl.subitem_list.html',
true,
true,
'Services/Object');
194 $this->ref_id = $a_ref_id;
198 $this->subitem_ids = $a_subitem_ids;
213 if(self::enabledDetails($this->
getObjId()))
220 $ilCtrl->setParameterByClass(get_class($this->
getCmdClass()),
'details', (
int) $this->
getObjId());
221 $link = $ilCtrl->getLinkTargetByClass(get_class($this->
getCmdClass()),
'');
222 $ilCtrl->clearParametersByClass(get_class($this->
getCmdClass()));
224 $this->tpl->setCurrentBlock(
'choose_details');
225 $this->tpl->setVariable(
'LUC_DETAILS_LINK',$link);
226 $this->tpl->setVariable(
'LUC_NUM_HITS',sprintf($lng->txt(
'lucene_more_hits_link'),
$additional));
227 $this->tpl->parseCurrentBlock();
232 abstract public function getHTML();