ConditionalExpression
extends Expression
in package
implements
IConditionalExpression
FinalYes
Tags
Table of Contents
Interfaces
Properties
- $clause : IClause
- $comparison_operator : string
- $expression : string|int|array<string|int, mixed>|float|DateTime
- $expressions : ArrayObject
- $logical_operator : string
- $parent : IExpression
- $hashCode : int
- $hashCounter : int
Methods
- __call() : mixed
- __callStatic() : mixed
- __construct() : mixed
- __destruct() : mixed
- __get() : mixed
- __toString() : mixed
- {@inheritdoc}
- between() : mixed
- create() : IExpression
- eq() : mixed
- extends() : bool
- getClause() : IClause
- Gets the instance of the clause this expression is contained in
- getLogicalOperator() : string
- getReflection() : ReflectionClass
- gt() : mixed
- gte() : mixed
- in() : mixed
- is() : mixed
- isNotNull() : mixed
- isNull() : mixed
- like() : mixed
- lt() : mixed
- lte() : mixed
- nbetween() : mixed
- neq() : mixed
- nin() : mixed
- nis() : mixed
- init() : mixed
- {@inheritdoc}
- setExpression() : mixed
- setClause() : mixed
- setLogicalOperator() : null
Properties
$clause
protected
IClause
$clause
$comparison_operator
protected
string
$comparison_operator
$expression
protected
string|int|array<string|int, mixed>|float|DateTime
$expression
$expressions
protected
ArrayObject
$expressions
$logical_operator
protected
string
$logical_operator
$parent
protected
IExpression
$parent
$hashCode
private
int
$hashCode
$hashCounter
private
static int
$hashCounter
= 0
Methods
__call()
public
__call(string $method, array<string|int, mixed> $arguments) : mixed
Parameters
- $method : string
- $arguments : array<string|int, mixed>
Tags
__callStatic()
public
static __callStatic(mixed $method, array<string|int, mixed> $arguments) : mixed
Parameters
- $method : mixed
- $arguments : array<string|int, mixed>
__construct()
public
__construct(IClause $clause[, string $logical_operator = IWhereClause::LOGICAL_OPERATOR_AND ]) : mixed
Parameters
- $clause : IClause
- $logical_operator : string = IWhereClause::LOGICAL_OPERATOR_AND
__destruct()
public
__destruct() : mixed
__get()
public
__get(string $property) : mixed
Parameters
- $property : string
__toString()
{@inheritdoc}
public
__toString() : mixed
Tags
between()
public
between(mixed $expression1, mixed $expression2, mixed $expression3) : mixed
Parameters
- $expression1 : mixed
- $expression2 : mixed
- $expression3 : mixed
Tags
create()
public
static create(IClause $clause, string|int|array<string|int, mixed>|float|DateTime $expression) : IExpression
Parameters
Return values
IExpressioneq()
public
eq(mixed $expression1, mixed $expression2) : mixed
Parameters
- $expression1 : mixed
- $expression2 : mixed
Tags
extends()
public
extends(ReflectionClass $reflector) : bool
Parameters
- $reflector : ReflectionClass
Return values
boolgetClause()
Gets the instance of the clause this expression is contained in
public
getClause() : IClause
Tags
Return values
IClausegetLogicalOperator()
public
getLogicalOperator() : string
Return values
stringgetReflection()
public
getReflection() : ReflectionClass
Return values
ReflectionClassgt()
public
gt(mixed $expression1, mixed $expression2) : mixed
Parameters
- $expression1 : mixed
- $expression2 : mixed
Tags
gte()
public
gte(mixed $expression1, mixed $expression2) : mixed
Parameters
- $expression1 : mixed
- $expression2 : mixed
Tags
in()
public
in(mixed $expression, array<string|int, mixed> $values) : mixed
Parameters
- $expression : mixed
- $values : array<string|int, mixed>
Tags
is()
public
is(mixed $expression, mixed $boolean) : mixed
Parameters
- $expression : mixed
- $boolean : mixed
Tags
isNotNull()
public
isNotNull(mixed $expression) : mixed
Parameters
- $expression : mixed
Tags
isNull()
public
isNull(mixed $expression) : mixed
Parameters
- $expression : mixed
Tags
like()
public
like(mixed $expression1, mixed $expression2[, mixed $not = false ]) : mixed
Parameters
- $expression1 : mixed
- $expression2 : mixed
- $not : mixed = false
Tags
lt()
public
lt(mixed $expression1, mixed $expression2) : mixed
Parameters
- $expression1 : mixed
- $expression2 : mixed
Tags
lte()
public
lte(mixed $expression1, mixed $expression2) : mixed
Parameters
- $expression1 : mixed
- $expression2 : mixed
Tags
nbetween()
public
nbetween(mixed $expression1, mixed $expression2, mixed $expression3) : mixed
Parameters
- $expression1 : mixed
- $expression2 : mixed
- $expression3 : mixed
Tags
neq()
public
neq(mixed $expression1, mixed $expression2) : mixed
Parameters
- $expression1 : mixed
- $expression2 : mixed
Tags
nin()
public
nin(mixed $expression, array<string|int, mixed> $values) : mixed
Parameters
- $expression : mixed
- $values : array<string|int, mixed>
Tags
nis()
public
nis(mixed $expression, mixed $boolean) : mixed
Parameters
- $expression : mixed
- $boolean : mixed
Tags
init()
{@inheritdoc}
protected
init() : mixed
Tags
setExpression()
protected
setExpression(string|int|array<string|int, mixed>|float|DateTime $expression) : mixed
Parameters
- $expression : string|int|array<string|int, mixed>|float|DateTime
Tags
setClause()
private
setClause(IClause $clause) : mixed
Parameters
- $clause : IClause
setLogicalOperator()
private
setLogicalOperator(string $logical_operator) : null
Parameters
- $logical_operator : string