IOrderByClause
extends
IClause
in
Tags
Table of Contents
Constants
- ORDER_ASC = 'ASC'
- ORDER_DESC = 'DESC'
Methods
- addOrderBy() : mixed
- getStatement() : IStatement
- orderBy() : mixed
Constants
ORDER_ASC
public
mixed
ORDER_ASC
= 'ASC'
ORDER_DESC
public
mixed
ORDER_DESC
= 'DESC'
Methods
addOrderBy()
public
addOrderBy(string $field[, string $order = IOrderByClause::ORDER_ASC ]) : mixed
Parameters
- $field : string
- $order : string = IOrderByClause::ORDER_ASC
getStatement()
public
getStatement() : IStatement
Return values
IStatementorderBy()
public
orderBy(string $field[, string $order = IOrderByClause::ORDER_ASC ]) : mixed
Parameters
- $field : string
- $order : string = IOrderByClause::ORDER_ASC