Condition
Class Condition
Tags
Table of Contents
Methods
- __construct() : mixed
- check() : mixed
- getField() : string
- getOperator() : string
- getValue() : mixed
- setField() : Condition
- setOperator() : Condition
- setValue() : Condition
- toArray() : mixed
Methods
__construct()
public
__construct([array<string|int, mixed> $params = null ]) : mixed
Parameters
- $params : array<string|int, mixed> = null
check()
public
check(mixed $needle, mixed $fieldType, BaseTarget $target) : mixed
Parameters
- $needle : mixed
- $fieldType : mixed
- $target : BaseTarget
getField()
public
getField() : string
Return values
stringgetOperator()
public
getOperator() : string
Return values
stringgetValue()
public
getValue() : mixed
setField()
public
setField(string $field) : Condition
Parameters
- $field : string
Return values
ConditionsetOperator()
public
setOperator(string $operator) : Condition
Parameters
- $operator : string
Return values
ConditionsetValue()
public
setValue(mixed $value) : Condition
Parameters
- $value : mixed
Return values
ConditiontoArray()
public
toArray() : mixed