TypeAnd
TypeAnd
Junction type representing a logical AND
Defines a junction of filters that can be applied to a query.
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 $type)
Creates a junction of the specified type
| string | $type |
add(\Visionline\Crm\WebApi\Filter $filter) : \Visionline\Crm\WebApi\Junction
Adds a filter to this junction
| \Visionline\Crm\WebApi\Filter | $filter | The filter to add |
A reference to this junction