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';
41 $this->
object = $factory->getInstanceByRefId($this->
getRefId(),FALSE);
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();
70 $next_class = $this->
getCtrl()->getNextClass();
136 include_once
'./Services/Search/classes/class.ilRepositoryObjectDetailSearch.php';
142 $result = $search->performSearch();
147 $this->
getCtrl()->returnToParent($this);
153 $result_table->setResults(
$result);
155 $result_table->init();
156 $result_table->parse();
158 $GLOBALS[
'tpl']->setContent($result_table->getHTML());
168 global $objDefinition;
171 $class = $objDefinition->getClassName($this->
getObject()->getType());
173 $full_class =
"ilObj".$class.
"SearchResultTableGUI";
175 if(include_once(
$location.
"/class.".$full_class.
".php"))
177 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