src/Visitor/Printer/Query.php
private function appendOrderByList(\Aztech\Skwal\Visitor\Printer\Assembler\Select $assembler,\Aztech\Skwal\Query\Select $query)
    {
        $this->expressionVisitor->useAliases(false);
        
        $orderByList = array();
        
        foreach ($query->getSortingColumns() as $sortingColumn) {
            $direction = $this->getSortDirectionText($sortingColumn);
            $orderByList[] = $this->expressionVisitor->printExpression($sortingColumn->getExpression()) . $direction;
        }
        
        $assembler->setOrderByList($orderByList);
    }
private function appendOrderByList(\Aztech\Skwal\Visitor\Printer\Assembler\Select $assembler,\Aztech\Skwal\Query\Select $query)
    {
        $this->expressionVisitor->useAliases(false);
        
        $orderByList = array();
        
        foreach ($query->getSortingColumns() as $sortingColumn) {
            $direction = $this->getSortDirectionText($sortingColumn);
            $orderByList[] = $this->expressionVisitor->printExpression($sortingColumn->getExpression()) . $direction;
        }
        
        $assembler->setOrderByList($orderByList);
    }
private function appendOrderByList ( \ Aztech \ Skwal \ Visitor \ Printer \ Assembler \ Select $ assembler , \ Aztech \ Skwal \ Query \ Select $ query ) { $ this -> expressionVisitor -> useAliases ( false ) ; $ orderByList = array ( ) ; foreach ( $ query -> getSortingColumns ( ) as $ sortingColumn ) { $ direction = $ this -> getSortDirectionText ( $ sortingColumn ) ; $ orderByList [ ] = $ this -> expressionVisitor -> printExpression ( $ sortingColumn -> getExpression ( ) ) . $ direction ; } $ assembler -> setOrderByList ( $ orderByList ) ; }
Adds the sort expressions from a query to a query assembler.

@param \Aztech\Skwal\Visitor\Printer\Assembler\Select $assembler
@param \Aztech\Skwal\Query\Select $query
Adds the sort expressions from a query to a query assembler .