CaseExpression
class CaseExpression extends Component (View source)
Parses a reference to a CASE expression.
Properties
Expression | $value | The value to be compared. |
|
array | $conditions | The conditions in WHEN clauses. |
|
array | $results | The results matching with the WHEN clauses. |
|
array | $compare_values | The values to be compared against. |
|
Expression | $else_result | The result in ELSE section of expr. |
|
string | $alias | The alias of this CASE statement. |
|
string | $expr | The sub-expression. |
Methods
static mixed
static mixed
build(mixed $component, array $options = [])
No description
__construct()
No description
Details
static mixed
parse(Parser $parser, TokensList $list, array $options = [])
No description
static mixed
build(mixed $component, array $options = [])
No description
string
__toString()
Builds the string representation of a component of this type.
__construct()
No description