$field
$field : string
Specifies the field. This string has to be UTF-8 encoded.
Represents an expression filter that can be applied to a query.
** File not found : new **
or_(\Visionline\Crm\WebApi\Filter $f) : \Visionline\Crm\WebApi\Junction
Links this filter with a logical OR to the specified filter
\Visionline\Crm\WebApi\Filter | $f | the filter to logically link to this filter |
the resulting junction
and_(\Visionline\Crm\WebApi\Filter $f) : \Visionline\Crm\WebApi\Junction
Links this filter with a logical AND to the specified filter
\Visionline\Crm\WebApi\Filter | $f | the filter to logically link to this filter |
the resulting junction
eq(string $field, string $value) : \Visionline\Crm\WebApi\Expression
Shorthand for creating an expression with Operator::Eq
string | $field | |
string | $value |
notEq(string $field, string $value) : \Visionline\Crm\WebApi\Expression
Shorthand for creating an expression with Operator::NotEq
string | $field | |
string | $value |
contains(string $field, string $value) : \Visionline\Crm\WebApi\Expression
Shorthand for creating an expression with Operator::Contains
string | $field | |
string | $value |
startsWith(string $field, string $value) : \Visionline\Crm\WebApi\Expression
Shorthand for creating an expression with Operator::StartsWith
string | $field | |
string | $value |
gt(string $field, string $value) : \Visionline\Crm\WebApi\Expression
Shorthand for creating an expression with Operator::Gt
string | $field | |
string | $value |
ge(string $field, string $value) : \Visionline\Crm\WebApi\Expression
Shorthand for creating an expression with Operator::Ge
string | $field | |
string | $value |
lt(string $field, string $value) : \Visionline\Crm\WebApi\Expression
Shorthand for creating an expression with Operator::Lt
string | $field | |
string | $value |
le(string $field, string $value) : \Visionline\Crm\WebApi\Expression
Shorthand for creating an expression with Operator::Le
string | $field | |
string | $value |
oneOf(string $field, string $value) : \Visionline\Crm\WebApi\Expression
Shorthand for creating an expression with Operator::OneOf
string | $field | |
string | $value |
allOf(string $field, string $value) : \Visionline\Crm\WebApi\Expression
Shorthand for creating an expression with Operator::AllOf
string | $field | |
string | $value |
noneOf(string $field, string $value) : \Visionline\Crm\WebApi\Expression
Shorthand for creating an expression with Operator::NoneOf
string | $field | |
string | $value |
isTrue(string $field) : \Visionline\Crm\WebApi\Expression
Shorthand for creating an expression with Operator::IsTrue
string | $field |
isFalse(string $field) : \Visionline\Crm\WebApi\Expression
Shorthand for creating an expression with Operator::IsFalse
string | $field |
isEmpty(string $field) : \Visionline\Crm\WebApi\Expression
Shorthand for creating an expression with Operator::IsEmpty
string | $field |
isNotEmpty(string $field) : \Visionline\Crm\WebApi\Expression
Shorthand for creating an expression with Operator::IsNotEmpty
string | $field |
isNull(string $field) : \Visionline\Crm\WebApi\Expression
Shorthand for creating an expression with Operator::IsNull
string | $field |
isNotNull(string $field) : \Visionline\Crm\WebApi\Expression
Shorthand for creating an expression with Operator::IsNotNull
string | $field |
inHierarchy(string $field, string $value) : \Visionline\Crm\WebApi\Expression
Shorthand for creating an expression with Operator::InHierarchy
string | $field | The field |
string | $value | The value |
inCurrentMonth(string $field) : \Visionline\Crm\WebApi\Expression
Shorthand for creating an expression with Operator::InCurrentMonth
string | $field |
inPreviousMonth(string $field) : \Visionline\Crm\WebApi\Expression
Shorthand for creating an expression with Operator::InPreviousMonth
string | $field |
inCurrentYear(string $field) : \Visionline\Crm\WebApi\Expression
Shorthand for creating an expression with Operator::InCurrentYear
string | $field |
inPreviousYear(string $field) : \Visionline\Crm\WebApi\Expression
Shorthand for creating an expression with Operator::InPreviousYear
string | $field |
__construct(string $field, string $op, string $value = NULL)
Creates a new expression filter using the specified values.
string | $field | Specifies the field. This string has to be UTF-8 encoded. |
string | $op | Specifies the operator. |
string | $value | Specifies the value. Can be omitted for unary operators. This string has to be UTF-8 encoded. |