35 include_once
'Services/Search/classes/class.ilAbstractSearch.php';
55 $and = $this->__createTopicAndCondition();
58 $query =
"SELECT thr_pk,top_frm_fk frm_id ".
60 "FROM frm_threads,frm_data ".
61 "WHERE top_pk = thr_top_fk ".
68 #$thread_post = $row->thr_pk.'_0';
69 $thread_post =
$row->thr_pk;
70 $this->search_result->addEntry(
$row->frm_id,
'frm',$this->__prepareFound(
$row),$thread_post);
74 $this->
setFields(array(
'pos_subject',
'pos_message'));
76 $and = $this->__createPostAndCondition();
79 $query =
"SELECT top_frm_fk frm_id,pos_thr_fk,pos_pk ".
81 "FROM frm_posts,frm_data ".
82 "WHERE pos_top_fk = top_pk ".
88 #$thread_post = $row->pos_thr_fk.'_'.$row->pos_pk;
89 $thread_post =
$row->pos_thr_fk;
90 $this->search_result->addEntry(
$row->frm_id,
'frm',$this->__prepareFound(
$row),$thread_post);