20 if (!array_key_exists($result_set[
'item_id'], $valid_threads)) {
26 $row[
'title'] = $valid_threads[$result_set[
'item_id']];
28 $DIC->ctrl()->setParameterByClass(
'ilObjForumGUI',
'thr_pk', $result_set[
'item_id']);
29 $row[
'link'] = $DIC->ctrl()->getLinkTargetByClass(
'ilObjForumGUI',
'viewThread');
31 $row[
'relevance'] = $result_set[
'relevance'];
32 $row[
'content'] = $result_set[
'content'];
46 $this->tpl->setVariable(
'HREF_ITEM', $a_set[
'link']);
47 $this->tpl->setVariable(
'TXT_ITEM_TITLE', $a_set[
'title']);
50 $this->tpl->setVariable(
'RELEVANCE', $this->
getRelevanceHTML($a_set[
'relevance']));
52 if (strlen($a_set[
'content'])) {
53 $this->tpl->setVariable(
'HIGHLIGHT_CONTENT', $a_set[
'content']);
getSettings()
Get search settings.
fillRow($a_set)
Fill result row.
getRelevanceHTML($a_rel)
Get relevance html.
static _getThreads($a_obj_id, $a_sort_mode=self::SORT_DATE)
Get thread infos of object.
parse()
Parse results and call setData.
Class ilObjForumSearchResultTableGUI.