3 declare(strict_types=1);
57 $this->
ctrl = $DIC->ctrl();
58 $this->
ilias = $DIC[
'ilias'];
59 $this->
lng = $DIC->language();
60 $this->tpl = $DIC->ui()->mainTemplate();
61 $this->system = $DIC->rbac()->system();
62 $this->
http = $DIC->http();
64 $this->
user = $DIC->user();
70 $default =
'illucenesearchgui';
72 $default =
'ilsearchgui';
76 if ($this->
http->wrapper()->post()->has(
'root_id')) {
77 $root_id = $this->
http->wrapper()->post()->retrieve(
82 if ($root_id == self::TYPE_USER_SEARCH) {
83 $default =
'illuceneusersearchgui';
96 if ($this->
ctrl->getNextClass($this) ===
'') {
97 $this->
ctrl->setCmdClass($a_cmd_class);
105 $this->
ilias->raiseError($this->
lng->txt(
"permission_denied"), $this->
ilias->error_obj->MESSAGE);
107 $forward_class = $this->
ctrl->getNextClass($this) ? $this->
ctrl->getNextClass($this) : $this->
getLastClass();
108 switch ($forward_class) {
109 case 'illucenesearchgui':
115 case 'illuceneadvancedsearchgui':
117 $this->
setCmdClass(ilLuceneAdvancedSearchGUI::class);
121 case 'illuceneusersearchgui':
123 $this->
ilias->raiseError($this->
lng->txt(
"permission_denied"), $this->
ilias->error_obj->MESSAGE);
130 case 'iladvancedsearchgui':
144 $this->
ctrl->forwardCommand($search_gui);
147 $this->tpl->printToStdout();
Interface GlobalHttpState.
static get(string $a_var)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilGlobalTemplateInterface $tpl
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class ChatMainBarProvider .
__construct()
Constructor public.
Interface ilCtrlBaseClassInterface describes ilCtrl base classes.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static http()
Fetches the global http state from ILIAS.
setLastClass(string $a_class)
static _getSearchSettingRefId()
Read the ref_id of Search Settings object.
header include for all ilias files.
GUI for Lucene user search
setCmdClass(string $a_cmd_class)
static set(string $a_var, $a_val)
Set a value.