58 return $_SESSION[
'search_last_class'] ?
$_SESSION[
'search_last_class'] :
'ilsearchgui';
62 $_SESSION[
'search_last_class'] = $a_class;
67 global $rbacsystem,$ilUser;
70 if($ilUser->getProfileIncomplete())
76 if( $ilUser->isPasswordChangeDemanded() )
78 ilUtil::sendInfo( $this->lng->txt(
'password_change_on_first_login_demand'), true );
84 if( $ilUser->isPasswordExpired() )
86 $msg = $this->lng->txt(
'password_expired');
87 $password_age = $ilUser->getPasswordAge();
94 include_once
'Services/Search/classes/class.ilSearchSettings.php';
99 $this->ilias->raiseError($this->lng->txt(
"permission_denied"),$this->ilias->error_obj->MESSAGE);
101 $forward_class = $this->ctrl->getNextClass($this) ? $this->ctrl->getNextClass($this) : $this->
getLastClass();
103 switch($forward_class)
105 case 'ilsearchresultgui':
109 include_once
'Services/Search/classes/class.ilSearchResultGUI.php';
111 $this->ctrl->forwardCommand(
new ilSearchResultGUI());
114 case 'iladvancedsearchgui':
118 include_once
'Services/Search/classes/class.ilAdvancedSearchGUI.php';
128 include_once
'Services/Search/classes/class.ilSearchGUI.php';
131 $this->ctrl->forwardCommand($search_gui);