143 if ($filter !==
null)
145 foreach ($filter as $key => $value)
147 if (empty($value) && $value !==
'0')
154 $filterOut[
'=%PATH.PATH'] = $value.
'%';
156 elseif ($key ===
'pathId')
158 $filterOut[
'=PATH_ID'] = $value;
160 elseif ($key ===
'langId')
162 $filterOut[
'=LANG_ID'] = $value;
164 elseif ($key ===
'fileId')
166 $filterOut[
'=ID'] = $value;
168 elseif ($key ===
'indexedTime')
170 $filterOut[
'<INDEXED_TIME'] = $value;
174 if (static::getEntity()->hasField(trim($key,
'<>!=@~%*')))
176 $filterOut[$key] = $value;