107 if ($filter !==
null)
109 foreach ($filter as $key => $value)
111 if (empty($value) && $value !==
'0')
118 $filterOut[
'=%PATH.PATH'] = $value.
'%';
120 elseif ($key ===
'pathId')
122 $filterOut[
'=PATH_ID'] = $value;
124 elseif ($key ===
'parentId')
126 $filterOut[
'=PARENT_ID'] = $value;
130 if (static::getEntity()->hasField(trim($key,
'<>!=@~%*')))
132 $filterOut[$key] = $value;