OrderByClause
extends Clause
in package
implements
IOrderByClause
FinalYes
Tags
Table of Contents
Interfaces
Properties
- $statement : IStatement
- $hashCode : int
- $hashCounter : int
- $orders : ArrayObject
Methods
- __call() : mixed
- __callStatic() : mixed
- __construct() : mixed
- __destruct() : mixed
- __get() : mixed
- __toString() : mixed
- addOrderBy() : mixed
- extends() : bool
- getReflection() : ReflectionClass
- getStatement() : IStatement
- orderBy() : mixed
- init() : mixed
- setStatement() : mixed
Properties
$statement
protected
IStatement
$statement
$hashCode
private
int
$hashCode
$hashCounter
private
static int
$hashCounter
= 0
$orders
private
ArrayObject
$orders
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(IStatement $statement) : mixed
Parameters
- $statement : IStatement
__destruct()
public
__destruct() : mixed
__get()
public
__get(string $property) : mixed
Parameters
- $property : string
__toString()
public
__toString() : mixed
addOrderBy()
public
addOrderBy(mixed $expression[, mixed $order = IOrderByClause::ORDER_ASC ]) : mixed
Parameters
- $expression : mixed
- $order : mixed = IOrderByClause::ORDER_ASC
Tags
extends()
public
extends(ReflectionClass $reflector) : bool
Parameters
- $reflector : ReflectionClass
Return values
boolgetReflection()
public
getReflection() : ReflectionClass
Return values
ReflectionClassgetStatement()
public
getStatement() : IStatement
Tags
Return values
IStatementorderBy()
public
orderBy(mixed $expression[, mixed $order = IOrderByClause::ORDER_ASC ]) : mixed
Parameters
- $expression : mixed
- $order : mixed = IOrderByClause::ORDER_ASC
Tags
init()
protected
init() : mixed
setStatement()
private
setStatement(IStatement $statement) : mixed
Parameters
- $statement : IStatement