Prado\Data\Common\Mssql\TMssqlCommandBuilder::joinOrdering PHP 메소드

joinOrdering() 보호된 메소드

protected joinOrdering ( $orders ) : string
리턴 string concat the orderings
    protected function joinOrdering($orders)
    {
        if (count($orders) > 0) {
            $str = array();
            foreach ($orders as $column => $direction) {
                $str[] = $column . ' ' . $direction;
            }
            return 'ORDER BY ' . implode(', ', $str);
        }
    }