35 include_once
'Services/Search/classes/class.ilAbstractSearch.php';
52 $where = $this->__createWhereCondition(implode(
',',$this->
getFields()));
55 $query =
"SELECT obj_fi ".
60 $res = $this->db->query($query);
63 $this->search_result->addEntry($row->obj_fi,
'tst',$this->__prepareFound($row));
69 $this->
setFields(array(
'title',
'comment'));
71 $where = $this->__createWhereCondition(implode(
',',$this->
getFields()));
74 $query =
"SELECT obj_fi ".
76 "FROM qpl_questions ".
79 $res = $this->db->query($query);
82 $this->search_result->addEntry($row->obj_fi,
'qpl',$this->__prepareFound($row));
90 $where = $this->__createWhereCondition(implode(
',',$this->
getFields()));
93 $query =
"SELECT obj_fi ".
95 "FROM survey_survey ".
98 $res = $this->db->query($query);
101 $this->search_result->addEntry($row->obj_fi,
'svy',$this->__prepareFound($row));
107 $this->
setFields(array(
'title',
'description'));
109 $where = $this->__createWhereCondition(implode(
',',$this->
getFields()));
112 $query =
"SELECT obj_fi ".
114 "FROM survey_question ".
117 $res = $this->db->query($query);
120 $this->search_result->addEntry($row->obj_fi,
'spl',$this->__prepareFound($row));