42 include_once
'./Services/Search/classes/class.ilSearchSettings.php';
45 $default =
'illucenesearchgui';
49 $default =
'ilsearchgui';
51 if(
$_REQUEST[
'root_id'] == self::TYPE_USER_SEARCH)
53 $default =
'illuceneusersearchgui';
62 $_SESSION[
'search_last_class'] = $a_class;
69 include_once
'Services/Search/classes/class.ilSearchSettings.php';
74 $this->ilias->raiseError($this->lng->txt(
"permission_denied"),$this->ilias->error_obj->MESSAGE);
76 $forward_class = $this->ctrl->getNextClass($this) ? $this->ctrl->getNextClass($this) : $this->
getLastClass();
78 switch($forward_class)
80 case 'illucenesearchgui':
82 include_once
'./Services/Search/classes/Lucene/class.ilLuceneSearchGUI.php';
86 case 'illuceneadvancedsearchgui':
88 include_once
'./Services/Search/classes/Lucene/class.ilLuceneAdvancedSearchGUI.php';
92 case 'illuceneusersearchgui':
94 include_once
'./Services/Search/classes/Lucene/class.ilLuceneUserSearchGUI.php';
98 case 'iladvancedsearchgui':
102 include_once
'Services/Search/classes/class.ilAdvancedSearchGUI.php';
112 include_once
'Services/Search/classes/class.ilSearchGUI.php';
115 $this->ctrl->forwardCommand($search_gui);