3 declare(strict_types=1);
    38     public function __construct(
int $a_ref_id, 
object $a_parent_obj, 
string $a_parent_cmd)
    42         $this->
lng = $DIC->language();
    43         $this->
ctrl = $DIC->ctrl();
    44         $this->
access = $DIC->access();
    45         $this->tpl = $DIC->ui()->mainTemplate();
    46         $this->obj_definition = $DIC[
'objDefinition'];
    48         $this->ref_id = $a_ref_id;
    49         $this->
http = $DIC->http();
    54             if ($repo_object instanceof 
ilObject) {
    55                 $this->
object = $repo_object;
    60         $this->parent_obj = $a_parent_obj;
    61         $this->parent_cmd = $a_parent_cmd;
    67         return $block->getHTML();
    72         if (!$this->
access->checkAccess(
'read', 
'', $this->getObject()->getRefId())) {
    73             $this->tpl->setOnScreenMessage(
'failure', $this->
lng->txt(
"permission_denied"), 
true);
    77         $next_class = $this->
getCtrl()->getNextClass();
    78         $cmd = $this->
getCtrl()->getCmd();
    81         switch ($next_class) {
   128             if ($this->
http->wrapper()->post()->has(
'search_term')) {
   129                 $search_term = $this->
http->wrapper()->post()->retrieve(
   131                     $this->
refinery->kindlyTo()->string()
   134             $search->setQueryString($search_term);
   135             $result = $search->performSearch();
   137             $this->tpl->setOnScreenMessage(
'failure', $e->getMessage(), 
true);
   138             $this->
getCtrl()->returnToParent($this);
   143         $result_table->setSearchTerm($search_term);
   144         $result_table->setResults($result);
   146         $result_table->init();
   147         $result_table->parse();
   149         $this->tpl->setContent($result_table->getHTML());
   155         $class = $this->obj_definition->getClassName($this->
getObject()->getType());
   157         $full_class = 
"ilObj" . $class . 
"SearchResultTableGUI";
   159         if (include_once(
$location . 
"/class." . $full_class . 
".php")) {
   160             return new $full_class(
 
Interface GlobalHttpState. 
 
ilObjectDefinition $obj_definition
 
$location
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
__construct(int $a_ref_id, object $a_parent_obj, string $a_parent_cmd)
 
ilGlobalTemplateInterface $tpl
 
static _lookupObjId(int $ref_id)
 
parses the objects.xml it handles the xml-description of all ilias objects 
 
static http()
Fetches the global http state from ILIAS. 
 
static getInstanceByRefId(int $ref_id, bool $stop_on_error=true)
get an instance of an Ilias object by reference id 
 
static getSearchBlockHTML(string $a_title)