29 public function __construct($a_ref_id, $a_parent_obj, $a_parent_cmd)
33 $this->ref_id = $a_ref_id;
39 include_once
'./Services/Object/classes/class.ilObjectFactory.php';
43 $this->parent_obj = $a_parent_obj;
44 $this->parent_cmd = $a_parent_cmd;
54 include_once
'./Services/Search/classes/class.ilRepositoryObjectSearchBlockGUI.php';
56 return $block->getHTML();
69 $next_class = $this->
getCtrl()->getNextClass();
70 $cmd = $this->
getCtrl()->getCmd();
73 switch ($next_class) {
134 include_once
'./Services/Search/classes/class.ilRepositoryObjectDetailSearch.php';
139 $result = $search->performSearch();
142 $this->
getCtrl()->returnToParent($this);
148 $result_table->setResults(
$result);
150 $result_table->init();
151 $result_table->parse();
153 $GLOBALS[
'tpl']->setContent($result_table->getHTML());
163 global $objDefinition;
166 $class = $objDefinition->getClassName($this->
getObject()->getType());
168 $full_class =
"ilObj" . $class .
"SearchResultTableGUI";
170 if (include_once(
$location .
"/class." . $full_class .
".php")) {
171 return new $full_class(
$GLOBALS['loaded']
Global hash that tracks already loaded includes.
__construct($a_ref_id, $a_parent_obj, $a_parent_cmd)
Constructor.
executeCommand()
Execute command.
performSearch()
Perform search lucene or direct search.
static _lookupObjId($a_id)
getLang()
Get language object.
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled
getResultTableInstance()
Get result table instance type $objDefinition.
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
static getSearchBlockHTML($a_title)
Get standar search block html.
getParentGUI()
get parent gui