-
Notifications
You must be signed in to change notification settings - Fork 0
Box QueryCondition
Query
- Class name: QueryCondition
- Namespace: Box
- Parent class: Box\QueryBase
- This class implements: Box\QueryInterfaceCondition
private mixed $_aggregate
- Visibility: private
protected \Box\QueryBase $_child
- Visibility: protected
protected \Box\TokenBase $_token
- Visibility: protected
protected \Box\Query $_root
- Visibility: protected
mixed Box\QueryCondition::\Box\QueryCondition::__construct()()
Use ::create if you can find it. Otherwise this.
- Visibility: public
\Box\QueryOperation Box\QueryCondition::\Box\QueryCondition::contains()(string $property, string $value, boolean $caseSensitive)
Set the condition that a string property must contain the given substring.
- Visibility: public
- $property string - <p>The property you want to set a condition on.</p>
- $value string - <p>The string you want that property to contain.</p>
- $caseSensitive boolean
\Box\QueryOperation Box\QueryCondition::\Box\QueryCondition::endsWith()(string $property, string $value, boolean $caseSensitive)
Set the condition that a string property must end with the given substring.
- Visibility: public
- $property string - <p>The property you want to set a condition on.</p>
- $value string - <p>The string you want that property to end with.</p>
- $caseSensitive boolean
\Box\QueryOperation Box\QueryCondition::\Box\QueryCondition::startsWith()(string $property, string $value, boolean $caseSensitive)
Set the condition that a string property must start with the given substring.
- Visibility: public
- $property string - <p>The property you want to set a condition on.</p>
- $value string - <p>The string you want that property to start with.</p>
- $caseSensitive boolean
\Box\QueryOperation Box\QueryCondition::\Box\QueryCondition::equals()(string $property, string|float|boolean|integer|string[]|float[]|boolean[]|integer[]|null $value)
Set the condition that a property must have a given value.
- Visibility: public
- $property string - <p>The property you want to set a condition on.</p>
- $value string|float|boolean|integer|string[]|float[]|boolean[]|integer[]|null - <p>The value the property should have to satisfy the condition.</p>
\Box\QueryOperation Box\QueryCondition::\Box\QueryCondition::notEquals()(string $property, string|float|boolean|integer|string[]|float[]|boolean[]|integer[]|null $value)
Set the condition that a property must not have a given value.
- Visibility: public
- $property string - <p>The property you want to set a condition on.</p>
- $value string|float|boolean|integer|string[]|float[]|boolean[]|integer[]|null - <p>The value the property should not have to satisfy the condition.</p>
\Box\QueryOperation Box\QueryCondition::\Box\QueryCondition::greaterThan()(string $property, float|integer $value)
Set the condition that a numerical property must be greater than a given value.
- Visibility: public
- $property string - <p>The property you want to set a condition on.</p>
- $value float|integer - <p>The value the property should be greater than to satisfy the condition.</p>
\Box\QueryOperation Box\QueryCondition::\Box\QueryCondition::greaterThanOrEquals()(string $property, float|integer $value)
Set the condition that a numerical property must be greater than or equal to a given value.
- Visibility: public
- $property string - <p>The property you want to set a condition on.</p>
- $value float|integer - <p>The value the property should be greater than or equal to to satisfy the condition.</p>
\Box\QueryOperation Box\QueryCondition::\Box\QueryCondition::lessThan()(string $property, float|integer $value)
Set the condition that a numerical property must be greater than a given value.
- Visibility: public
- $property string - <p>The property you want to set a condition on.</p>
- $value float|integer - <p>The value the property should be less than to satisfy the condition.</p>
\Box\QueryOperation Box\QueryCondition::\Box\QueryCondition::lessThanOrEquals()(string $property, float|integer $value)
Set the condition that a numerical property must be greater than or equal to a given value.
- Visibility: public
- $property string - <p>The property you want to set a condition on.</p>
- $value float|integer - <p>The value the property should be less than or equal to to satisfy the condition.</p>
\Box\QueryOperation Box\QueryCondition::\Box\QueryCondition::in()(string $property, string[]|float[]|boolean[]|integer[] $values)
Set the condition that a property must be equal to any value in a given set.
- Visibility: public
- $property string - <p>The property you want to set a condition on.</p>
- $values string[]|float[]|boolean[]|integer[] - <p>The values the property should be equal to any of to satisfy the condition.</p>
\Box\QueryOperation Box\QueryCondition::\Box\QueryCondition::notIn()(string $property, array $values)
Set the condition that a property must not be equal to any value in a given set.
- Visibility: public
- $property string - <p>The property you want to set a condition on.</p>
- $values array
\Box\TokenBase Box\QueryCondition::\Box\QueryBase::_getToken()()
Get the token this query element translates to.
- Visibility: protected
\Box\TokenRoot Box\QueryCondition::\Box\QueryBase::getToken()()
Get the token representing the root of the query this query part belongs to, if any.
- Visibility: public
mixed Box\QueryInterfaceCondition::\Box\QueryInterfaceCondition::contains()(string $property, string $value, boolean $caseSensitive)
Set the condition that a string property must contain the given substring.
- Visibility: public
- This method is defined by Box\QueryInterfaceCondition
- $property string - <p>The property you want to set a condition on.</p>
- $value string - <p>The string you want that property to contain.</p>
- $caseSensitive boolean
mixed Box\QueryInterfaceCondition::\Box\QueryInterfaceCondition::endsWith()(string $property, string $value, boolean $caseSensitive)
Set the condition that a string property must end with the given substring.
- Visibility: public
- This method is defined by Box\QueryInterfaceCondition
- $property string - <p>The property you want to set a condition on.</p>
- $value string - <p>The string you want that property to end with.</p>
- $caseSensitive boolean
mixed Box\QueryInterfaceCondition::\Box\QueryInterfaceCondition::startsWith()(string $property, string $value, boolean $caseSensitive)
Set the condition that a string property must start with the given substring.
- Visibility: public
- This method is defined by Box\QueryInterfaceCondition
- $property string - <p>The property you want to set a condition on.</p>
- $value string - <p>The string you want that property to start with.</p>
- $caseSensitive boolean
mixed Box\QueryInterfaceCondition::\Box\QueryInterfaceCondition::equals()(string $property, string|float|boolean|integer|string[]|float[]|boolean[]|integer[]|null $value)
Set the condition that a property must have a given value.
- Visibility: public
- This method is defined by Box\QueryInterfaceCondition
- $property string - <p>The property you want to set a condition on.</p>
- $value string|float|boolean|integer|string[]|float[]|boolean[]|integer[]|null - <p>The value the property should have to satisfy the condition.</p>
mixed Box\QueryInterfaceCondition::\Box\QueryInterfaceCondition::notEquals()(string $property, string|float|boolean|integer|string[]|float[]|boolean[]|integer[]|null $value)
Set the condition that a property must not have a given value.
- Visibility: public
- This method is defined by Box\QueryInterfaceCondition
- $property string - <p>The property you want to set a condition on.</p>
- $value string|float|boolean|integer|string[]|float[]|boolean[]|integer[]|null - <p>The value the property should not have to satisfy the condition.</p>
mixed Box\QueryInterfaceCondition::\Box\QueryInterfaceCondition::greaterThan()(string $property, float|integer $value)
Set the condition that a numerical property must be greater than a given value.
- Visibility: public
- This method is defined by Box\QueryInterfaceCondition
- $property string - <p>The property you want to set a condition on.</p>
- $value float|integer - <p>The value the property should be greater than to satisfy the condition.</p>
mixed Box\QueryInterfaceCondition::\Box\QueryInterfaceCondition::greaterThanOrEquals()(string $property, float|integer $value)
Set the condition that a numerical property must be greater than or equal to a given value.
- Visibility: public
- This method is defined by Box\QueryInterfaceCondition
- $property string - <p>The property you want to set a condition on.</p>
- $value float|integer - <p>The value the property should be greater than or equal to to satisfy the condition.</p>
mixed Box\QueryInterfaceCondition::\Box\QueryInterfaceCondition::lessThan()(string $property, float|integer $value)
Set the condition that a numerical property must be greater than a given value.
- Visibility: public
- This method is defined by Box\QueryInterfaceCondition
- $property string - <p>The property you want to set a condition on.</p>
- $value float|integer - <p>The value the property should be less than to satisfy the condition.</p>
mixed Box\QueryInterfaceCondition::\Box\QueryInterfaceCondition::lessThanOrEquals()(string $property, float|integer $value)
Set the condition that a numerical property must be greater than or equal to a given value.
- Visibility: public
- This method is defined by Box\QueryInterfaceCondition
- $property string - <p>The property you want to set a condition on.</p>
- $value float|integer - <p>The value the property should be less than or equal to to satisfy the condition.</p>
mixed Box\QueryInterfaceCondition::\Box\QueryInterfaceCondition::in()(string $property, string[]|float[]|boolean[]|integer[] $values)
Set the condition that a property must be equal to any value in a given set.
- Visibility: public
- This method is defined by Box\QueryInterfaceCondition
- $property string - <p>The property you want to set a condition on.</p>
- $values string[]|float[]|boolean[]|integer[] - <p>The values the property should be equal to any of to satisfy the condition.</p>
mixed Box\QueryInterfaceCondition::\Box\QueryInterfaceCondition::notIn()(string $property, array $values)
Set the condition that a property must not be equal to any value in a given set.
- Visibility: public
- This method is defined by Box\QueryInterfaceCondition
- $property string - <p>The property you want to set a condition on.</p>
- $values array