19 declare(strict_types=1);
35 public function setMode(
string $a_mode): void
37 $this->mode = $a_mode;
72 $type .= implode(
"','", $this->
getFilter());
74 return " AND obj_type IN " . $type;
82 $where = $this->__createContributeWhereCondition();
85 $query =
"SELECT rbac_id,obj_id,obj_type " .
87 "FROM il_meta_entity " .
88 $where .
" " . $in .
' ';
90 $res = $this->db->query($query);
92 $this->search_result->addEntry(
94 (
string) $row->obj_type,
95 $this->__prepareFound($row),
109 $where = $this->__createKeywordWhereCondition();
112 $query =
"SELECT rbac_id,obj_id,obj_type " .
114 "FROM il_meta_keyword " .
115 $where .
" " . $in .
' ';
117 $res = $this->db->query($query);
119 $this->search_result->addEntry(
121 (
string) $row->obj_type,
122 $this->__prepareFound($row),
133 $where = $this->__createTitleWhereCondition();
136 $query =
"SELECT rbac_id,obj_id,obj_type " .
138 "FROM il_meta_general " .
139 $where .
" " . $in .
' ';
141 $res = $this->db->query($query);
143 $this->search_result->addEntry(
145 (
string) $row->obj_type,
146 $this->__prepareFound($row),
157 $where = $this->__createDescriptionWhereCondition();
160 $query =
"SELECT rbac_id,obj_id,obj_type " .
162 "FROM il_meta_description " .
163 $where .
" " . $in .
' ';
165 $res = $this->db->query($query);
167 $this->search_result->addEntry(
169 (
string) $row->obj_type,
170 $this->__prepareFound($row),
setFields(array $a_fields)
ilSearchResult $search_result