3 declare(strict_types=1);
    48         $this->
ctrl = $DIC->ctrl();
    49         $this->
lng = $DIC->language();
    62         $_SESSION[
'lucene_search'][
'details'][
$obj_id] = 
true;
    70         $_SESSION[
'lucene_search'][
'details'] = [];
    78         return isset($_SESSION[
'lucene_search'][
'details'][$obj_id]) && $_SESSION[
'lucene_search'][
'details'][
$obj_id];
   113         if ($limited && !self::enabledDetails($this->
getObjId())) {
   114             return array_slice($this->subitem_ids, 0, self::$MAX_SUBITEMS);
   127         $this->tpl = 
new ilTemplate(
'tpl.subitem_list.html', 
true, 
true, 
'Services/Object');
   140         if (self::enabledDetails($this->
getObjId())) {
   144         $additional = count($this->
getSubItemIds()) - self::$MAX_SUBITEMS;
   150         $this->tpl->setCurrentBlock(
'choose_details');
   151         $this->tpl->setVariable(
'LUC_DETAILS_LINK', $link);
   152         $this->tpl->setVariable(
'LUC_NUM_HITS', sprintf($this->
lng->txt(
'lucene_more_hits_link'), $additional));
   153         $this->tpl->parseCurrentBlock();
   169         $pbar->setCurrent($relevance);
   171         $this->tpl->setVariable(
'REL_PBAR', $pbar->render());
   175     abstract public function getHTML(): string;
 
getSubItemIds(bool $limited=false)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
parseRelevance(int $sub_item)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
static setShowDetails(int $obj_id)
set show details. 
 
static enabledDetails(int $obj_id)
As long as static::enableDetails is not possible this method is final. 
 
static resetDetails()
As long as static::resetDetails is not possible this method is final. 
 
static _lookupObjId(int $ref_id)
 
setHighlighter(?ilLuceneHighlighterResultParser $highlighter)
 
init(ilObjectListGUI $item_list_gui, int $ref_id, array $subitem_ids)
 
static _lookupType(int $id, bool $reference=false)
 
ilObjectListGUI $item_list_gui
 
ilLuceneHighlighterResultParser $highlighter
 
__construct(string $cmd_class)