addOrder() public method

public addOrder ( $columns, $params )
Ejemplo n.º 1
0
 /**
  * Adds order clause, more calls appends to the end.
  * @param  string for example 'column1, column2 DESC'
  * @return self
  */
 public function order($columns)
 {
     $this->emptyResultSet();
     $this->sqlBuilder->addOrder($columns);
     return $this;
 }