3 declare(strict_types=1);
42 public function setMode(
string $a_mode): void
44 $this->mode = $a_mode;
81 return " AND obj_type IN " .
$type;
89 $where = $this->__createContributeWhereCondition();
92 $query =
"SELECT rbac_id,obj_id,obj_type " .
94 "FROM il_meta_entity " .
95 $where .
" " . $in .
' ';
99 $this->search_result->addEntry(
101 (
string) $row->obj_type,
102 $this->__prepareFound($row),
116 $where = $this->__createKeywordWhereCondition();
119 $query =
"SELECT rbac_id,obj_id,obj_type " .
121 "FROM il_meta_keyword " .
122 $where .
" " . $in .
' ';
126 $this->search_result->addEntry(
128 (
string) $row->obj_type,
129 $this->__prepareFound($row),
140 $where = $this->__createTitleWhereCondition();
143 $query =
"SELECT rbac_id,obj_id,obj_type " .
145 "FROM il_meta_general " .
146 $where .
" " . $in .
' ';
150 $this->search_result->addEntry(
152 (
string) $row->obj_type,
153 $this->__prepareFound($row),
164 $where = $this->__createDescriptionWhereCondition();
167 $query =
"SELECT rbac_id,obj_id,obj_type " .
169 "FROM il_meta_description " .
170 $where .
" " . $in .
' ';
174 $this->search_result->addEntry(
176 (
string) $row->obj_type,
177 $this->__prepareFound($row),
setFields(array $a_fields)
ilSearchResult $search_result