38 $ilCtrl = $DIC[
'ilCtrl'];
44 $this->ctrl = $ilCtrl;
47 $this->
user = $DIC->user();
52 include_once
'./Services/Search/classes/class.ilSearchSettings.php';
54 $default =
'illucenesearchgui';
56 $default =
'ilsearchgui';
58 if ($_REQUEST[
'root_id'] == self::TYPE_USER_SEARCH) {
59 $default =
'illuceneusersearchgui';
68 $_SESSION[
'search_last_class'] = $a_class;
75 $rbacsystem = $DIC[
'rbacsystem'];
77 include_once
'Services/Search/classes/class.ilSearchSettings.php';
81 $this->
ilias->raiseError($this->lng->txt(
"permission_denied"), $this->
ilias->error_obj->MESSAGE);
83 $forward_class = $this->ctrl->getNextClass($this) ? $this->ctrl->getNextClass($this) : $this->
getLastClass();
85 switch ($forward_class) {
86 case 'illucenesearchgui':
88 include_once
'./Services/Search/classes/Lucene/class.ilLuceneSearchGUI.php';
92 case 'illuceneadvancedsearchgui':
94 include_once
'./Services/Search/classes/Lucene/class.ilLuceneAdvancedSearchGUI.php';
98 case 'illuceneusersearchgui':
100 $this->
ilias->raiseError($this->lng->txt(
"permission_denied"), $this->
ilias->error_obj->MESSAGE);
103 include_once
'./Services/Search/classes/Lucene/class.ilLuceneUserSearchGUI.php';
107 case 'iladvancedsearchgui':
111 include_once
'Services/Search/classes/class.ilAdvancedSearchGUI.php';
122 include_once
'Services/Search/classes/class.ilSearchGUI.php';
125 $this->ctrl->forwardCommand($search_gui);
128 $this->tpl->printToStdout();
GUI for simple Lucene search
static _getSearchSettingRefId()
Read the ref_id of Search Settings object.
redirection script todo: (a better solution should control the processing via a xml file) ...
GUI for Lucene user search
__construct()
Constructor public.
if($DIC->http() ->request() ->getMethod()=="GET" &&isset($DIC->http() ->request() ->getQueryParams()['tex'])) $tpl