FILTER_SEARCH
FILTER_SEARCH
Search query expression builder for use with *List_Load_Query functions.
$request : \MerchantAPI\ListQuery\ListQueryRequestInterface|null
$parent : \MerchantAPI\ListQuery\FilterExpression|null
__construct(\MerchantAPI\ListQuery\ListQueryRequestInterface|null $request = null)
FilterExpression constructor.
\MerchantAPI\ListQuery\ListQueryRequestInterface|null | $request |
getParent() : \MerchantAPI\ListQuery\FilterExpression|null
Get the parent expression.
Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/gidriss/miva/tools/api-sdk/sdk-tools/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/gidriss/miva/tools/api-sdk/sdk-tools/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293setParent(\MerchantAPI\ListQuery\FilterExpression|null $parent = null) : \MerchantAPI\ListQuery\FilterExpression
Set the parent expression.
\MerchantAPI\ListQuery\FilterExpression|null | $parent |
isChild() : boolean
Check if this expression is a child of another.
Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/gidriss/miva/tools/api-sdk/sdk-tools/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/gidriss/miva/tools/api-sdk/sdk-tools/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293childDepth() : integer
Get the child depth.
Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/gidriss/miva/tools/api-sdk/sdk-tools/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/gidriss/miva/tools/api-sdk/sdk-tools/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293expr() : \MerchantAPI\ListQuery\FilterExpression
Create a new expression instance.
Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/gidriss/miva/tools/api-sdk/sdk-tools/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/gidriss/miva/tools/api-sdk/sdk-tools/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293add( $field, $operator, $value, $type) : $this
Add a search filter.
$field | ||
$operator | ||
$value | ||
$type |
andX(\MerchantAPI\ListQuery\FilterExpression $expression) : $this
Add a AND expression.
\MerchantAPI\ListQuery\FilterExpression | $expression |
orX(\MerchantAPI\ListQuery\FilterExpression $expression) : $this
Add a OR expression.
\MerchantAPI\ListQuery\FilterExpression | $expression |
equal( $field, $value) : $this
Add a equal (x EQ y) filter for specified field.
$field | ||
$value |
andEqual( $field, $value) : $this
Add a equal (AND x EQ y) filter for specified field.
$field | ||
$value |
orEqual( $field, $value) : $this
Add a equal (OR x EQ y) filter for specified field.
$field | ||
$value |
greaterThan( $field, $value) : $this
Add a greater than (x GT y) filter for specified field.
$field | ||
$value |
andGreaterThan( $field, $value) : $this
Add a greater than (AND x GT y) filter for specified field.
$field | ||
$value |
orGreaterThan( $field, $value) : $this
Add a greater than (OR x GT y) filter for specified field.
$field | ||
$value |
greaterThanEqual( $field, $value) : $this
Add a greater than or equal (x GE y) filter for specified field.
$field | ||
$value |
andGreaterThanEqual( $field, $value) : $this
Add a greater than or equal (AND x GE y) filter for specified field.
$field | ||
$value |
orGreaterThanEqual( $field, $value) : $this
Add a greater than or equal (OR x GE y) filter for specified field.
$field | ||
$value |
lessThan( $field, $value) : $this
Add a less than (x LT y) filter for specified field.
$field | ||
$value |
andLessThan( $field, $value) : $this
Add a less than (AND x LT y) filter for specified field.
$field | ||
$value |
orLessThan( $field, $value) : $this
Add a less than (OR x LT y) filter for specified field.
$field | ||
$value |
lessThanEqual( $field, $value) : $this
Add a less than or equal (x LE y) filter for specified field.
$field | ||
$value |
andLessThanEqual( $field, $value) : $this
Add a less than or equal (AND x LE y) filter for specified field.
$field | ||
$value |
orLessThanEqual( $field, $value) : $this
Add a less than or equal (OR x LE y) filter for specified field.
$field | ||
$value |
contains( $field, $value) : $this
Add a contains (x CO y) filter for specified field.
$field | ||
$value |
andContains( $field, $value) : $this
Add a contains (AND x CO y) filter for specified field.
$field | ||
$value |
orContains( $field, $value) : $this
Add a contains (OR x CO y) filter for specified field.
$field | ||
$value |
doesNotContain( $field, $value) : $this
Add a does not contains (x NC y) filter for specified field.
$field | ||
$value |
andDoesNotContain( $field, $value) : $this
Add a does not contains (AND x NC y) filter for specified field.
$field | ||
$value |
orDoesNotContain( $field, $value) : $this
Add a does not contains (OR x NC y) filter for specified field.
$field | ||
$value |
like( $field, $value) : $this
Add a like (x LIKE y) filter for specified field.
$field | ||
$value |
andLike( $field, $value) : $this
Add a like (AND x LIKE y) filter for specified field.
$field | ||
$value |
orLike( $field, $value) : $this
Add a like (OR x LIKE y) filter for specified field.
$field | ||
$value |
notLike( $field, $value) : $this
Add a not like (x NOTLIKE y) filter for specified field.
$field | ||
$value |
andNotLike( $field, $value) : $this
Add a not like (AND x NOTLIKE y) filter for specified field.
$field | ||
$value |
orNotLike( $field, $value) : $this
Add a not like (OR x NOTLIKE y) filter for specified field.
$field | ||
$value |
notEqual( $field, $value) : $this
Add a not equal (x NE y) filter for specified field.
$field | ||
$value |
andNotEqual( $field, $value) : $this
Add a not equal (AND x NE y) filter for specified field.
$field | ||
$value |
orNotEqual( $field, $value) : $this
Add a not equal (OR x NE y) filter for specified field.
$field | ||
$value |
true( $field) : $this
Add a true (x == true) filter for specified field.
$field |
andTrue( $field) : $this
Add a true (AND x == true) filter for specified field.
$field |
orTrue( $field) : $this
Add a true (OR x == true) filter for specified field.
$field |
false( $field) : $this
Add a false (x == false) filter for specified field.
$field |
andFalse( $field) : $this
Add a false (AND x == false) filter for specified field.
$field |
orFalse( $field) : $this
Add a false (OR x == false) filter for specified field.
$field |
null( $field) : $this
Add a is null (x == null) filter for specified field.
$field |
andNull( $field) : $this
Add a is null (AND x == null) filter for specified field.
$field |
orNull( $field) : $this
Add a is null (OR x == null) filter for specified field.
$field |
in( $field, array|string $values) : $this
Add a in (x IN y,z,.
. ) filter for specified field.
$field | ||
array|string | $values |
andIn( $field, $values) : $this
Add a in (AND x IN y,z,.
. ) filter for specified field.
$field | ||
$values |
orIn( $field, $values) : $this
Add a in (OR x IN y,z,.
. ) filter for specified field.
$field | ||
$values |
notIn( $field, $values) : $this
Add a not in (x NOTIN y,z,.
. ) filter for specified field.
$field | ||
$values |
andNotIn( $field, $values) : $this
Add a not in (AND x NOTIN y,z,.
. ) filter for specified field.
$field | ||
$values |
orNotIn( $field, $values) : $this
Add a not in (OR x NOTIN y,z,.
. ) filter for specified field.
$field | ||
$values |
toArray() : array
Reduce the built expression(s) to an array.
Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/gidriss/miva/tools/api-sdk/sdk-tools/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/gidriss/miva/tools/api-sdk/sdk-tools/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293