public function buildOrder()
	{
		$orders = [];

		foreach ($this->order as $order)
		{
			if (is_object($order['column']))
			{
				$string = $order['column']->build($this);
			}
			else
			{
				$string = $this->connection->quoteName($order['column']);
			}

			$string .= ' ' . strtoupper($order['dir']);
			$orders[] = $string;
		}

		return 'ORDER BY ' . implode(',', $orders);
	}
public function buildOrder()
	{
		$orders = [];

		foreach ($this->order as $order)
		{
			if (is_object($order['column']))
			{
				$string = $order['column']->build($this);
			}
			else
			{
				$string = $this->connection->quoteName($order['column']);
			}

			$string .= ' ' . strtoupper($order['dir']);
			$orders[] = $string;
		}

		return 'ORDER BY ' . implode(',', $orders);
	}
public function buildOrder ( ) { $ orders = [ ] ; foreach ( $ this -> order as $ order ) { if ( is_object ( $ order [ 'column' ] ) ) { $ string = $ order [ 'column' ] -> build ( $ this ) ; } else { $ string = $ this -> connection -> quoteName ( $ order [ 'column' ] ) ; } $ string .= ' ' . strtoupper ( $ order [ 'dir' ] ) ; $ orders [ ] = $ string ; } return 'ORDER BY ' . implode ( ',' , $ orders ) ; }
Builds an order statement from the set params

@return  string
@since   2.0.0
Builds an order statement from the set params