4 include_once
'Services/Search/classes/class.ilSearchSettings.php';
5 include_once
'./Services/PersonalDesktop/interfaces/interface.ilDesktopItemHandling.php';
6 include_once
'./Services/Administration/interfaces/interface.ilAdministrationCommandHandling.php';
43 $this->lng->loadLanguageModule(
'search');
45 $ilMainMenu->setActive(
'search');
51 global $ilLocator,
$lng;
53 $this->tpl->getStandardTemplate();
62 $this->tpl->setTitle($lng->txt(
"search"));
70 if(method_exists($this, $a_cmd))
86 include_once
'./Services/PersonalDesktop/classes/class.ilDesktopItemGUI.php';
88 $this->showSavedResults();
96 include_once
'./Services/PersonalDesktop/classes/class.ilDesktopItemGUI.php';
98 $this->showSavedResults();
104 public function delete()
106 include_once
'./Services/Administration/classes/class.ilAdministrationCommandGUI.php';
116 $this->showSavedResults();
124 include_once
'./Services/Administration/classes/class.ilAdministrationCommandGUI.php';
126 $admin->performDelete();
136 include_once
'./Services/Administration/classes/class.ilAdministrationCommandGUI.php';
146 include_once
'./Services/Administration/classes/class.ilAdministrationCommandGUI.php';
153 include_once
'./Services/Administration/classes/class.ilAdministrationCommandGUI.php';
160 include_once
'./Services/Administration/classes/class.ilAdministrationCommandGUI.php';
162 $admin->showLinkIntoMultipleObjectsTree();
167 include_once
'./Services/Administration/classes/class.ilAdministrationCommandGUI.php';
169 $admin->showMoveIntoObjectTree();
174 include_once
'./Services/Administration/classes/class.ilAdministrationCommandGUI.php';
176 $admin->performPasteIntoMultipleObjects();
182 $this->ctrl->redirect($this);
188 $this->ctrl->redirect($this);
193 $_SESSION[
"il_cont_admin_panel"] =
false;
194 $this->ctrl->redirect($this);
203 $ilLocator->addItem($this->lng->txt(
'search'),$this->ctrl->getLinkTarget($this));
204 $this->tpl->setLocator();
218 $_SESSION[
"$a_session_key"] = max(
$_SESSION[
"$a_session_key"],$this->search_cache->getResultPageNumber());
226 if($this->search_cache->getResultPageNumber() > 1)
228 $this->ctrl->setParameter($this,
'page_number',$this->search_cache->getResultPageNumber() - 1);
234 $this->prev_link = $this->ctrl->getLinkTarget($this,
'performSearch');
236 for($i = 1;$i <=
$_SESSION[
"$a_session_key"];$i++)
238 if($i == $this->search_cache->getResultPageNumber())
247 $this->ctrl->setParameter($this,
'page_number',$i);
248 $link =
'<a href="'.$this->ctrl->getLinkTarget($this,
'performSearch').
'" /a>'.$i.
'</a> ';
258 $this->ctrl->setParameter($this,
'page_number',$this->search_cache->getResultPageNumber() + 1);
264 $this->next_link = $this->ctrl->getLinkTarget($this,
'performSearch');
272 $this->ctrl->clearParameters($this);
283 $path_arr = $tree->getPathFull($a_root_node,ROOT_FOLDER_ID);
285 foreach($path_arr as
$data)
290 $path .= $data[
'title'];
294 $path .= $this->lng->txt(
'repository');
306 $q = $_REQUEST[
"query"];
307 include_once(
"./Services/Search/classes/class.ilSearchAutoComplete.php");