Exemple #1
0
 /**
  * This function sets how a column will be sorted.
  *
  * @access public
  * @param string $column                        the column to be sorted
  * @param string $ordering                      the ordering token that signals whether the
  *                                              column will sorted either in ascending or
  *                                              descending order
  * @param string $nulls                         the weight to be given to null values
  * @return DB_SQL_Update_Proxy                  a reference to the current instance
  */
 public function order_by($column, $ordering = 'ASC', $nulls = 'DEFAULT')
 {
     $this->builder->order_by($column, $ordering, $nulls);
     return $this;
 }