3 declare(strict_types=1);
46 $and = $this->__createTopicAndCondition();
49 $query =
"SELECT thr_pk,top_frm_fk frm_id " .
51 "FROM frm_threads,frm_data " .
52 "WHERE top_pk = thr_top_fk " .
58 #$thread_post = $row->thr_pk.'_0'; 59 $thread_post = $row->thr_pk;
60 $this->search_result->addEntry(
63 $this->__prepareFound($row),
69 $this->
setFields(array(
'pos_subject',
'pos_message'));
71 $and = $this->__createPostAndCondition();
74 $query =
"SELECT top_frm_fk frm_id,pos_thr_fk,pos_pk " .
76 "FROM frm_posts,frm_data " .
77 "WHERE pos_top_fk = top_pk " .
82 #$thread_post = $row->pos_thr_fk.'_'.$row->pos_pk; 83 $thread_post = $row->pos_thr_fk;
84 $this->search_result->addEntry(
87 $this->__prepareFound($row),
setFields(array $a_fields)
ilSearchResult $search_result