classes/sql.php
/**
	 * Generates an "ORDER BY" portion of the query.
	 *
	 * @param $column the column to order by
	 * @param $direction the optional sorting direction
	 * @return object
	 */
Generates an "ORDER BY" portion of the query.
@param $column the column to order by
@param $direction the optional sorting direction
@return object
Generates an " ORDER BY " portion of the query . @param $column the column to order by @param $direction the optional sorting direction @return object
function order_by($column, $direction = FALSE)
	{
		$this->_ar_order_by[] = $this->quote_columns($column). ($direction ? ' '.$direction : '');
		return $this;
	}
function order_by ( $ column , $ direction = FALSE ) { $ this -> _ar_order_by [ ] = $ this -> quote_columns ( $ column ) . ( $ direction ? ' ' . $ direction : '' ) ; return $ this ; }
Generates an "ORDER BY" portion of the query.
Generates an " ORDER BY " portion of the query .