__construct()
__construct(string|array $field,mixed $value,boolean $is_or = false,boolean $empty = false)
Filter constructor.
Create an equality search filter where field name must be the same as input
Parameters
string|array | $field | Name of the search field |
mixed | $value | The search value, can be a scalar but an array as well |
boolean | $is_or | Merge with other filters with or |
boolean | $empty | Allow empty value |