src/DB/StatementCollection.php
public function Order( $data )
	{
		Deprecation::getInstance()->setExceptionVersion( '0.9' )
			->message(  'Use orderBy instad' );
		if( !is_array( $data ) )
			throw new InvalidArgumentException( 'Orders must be given as List of Column and Direction.' );
		$column		= $data[0];
		$direction	= strtoupper( $data[1] );
		$this->builder->addOrder( $column, $direction );
		return array();
	}
public function Order( $data )
	{
		Deprecation::getInstance()->setExceptionVersion( '0.9' )
			->message(  'Use orderBy instad' );
		if( !is_array( $data ) )
			throw new InvalidArgumentException( 'Orders must be given as List of Column and Direction.' );
		$column		= $data[0];
		$direction	= strtoupper( $data[1] );
		$this->builder->addOrder( $column, $direction );
		return array();
	}
public function Order ( $ data ) { Deprecation :: getInstance ( ) -> setExceptionVersion ( '0.9' ) -> message ( 'Use orderBy instad' ) ; if ( ! is_array ( $ data ) ) throw new InvalidArgumentException ( 'Orders must be given as List of Column and Direction.' ) ; $ column = $ data [ 0 ] ; $ direction = strtoupper ( $ data [ 1 ] ) ; $ this -> builder -> addOrder ( $ column , $ direction ) ; return array ( ) ; }
Base Statement Component for Ordering.
@access		public
@param		array		$data		Pair of Column and Direction
@return		array
@deprecated	Use orderBy instad
Base Statement Component for Ordering .