| 1 | <?php |
||
| 4 | class DBExprOrderBySpec implements OrderBySpecification { |
||
| 5 | /** @var array[] */ |
||
| 6 | private $fields = []; |
||
| 7 | |||
| 8 | /** |
||
| 9 | * @param $spec |
||
| 10 | * @param $sortFieldsSpec |
||
| 11 | */ |
||
| 12 | public function __construct($spec, $sortFieldsSpec) { |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Returns an array[], where each value is a [db-expression, sort-direction] |
||
| 36 | * The sort-direction can be either ASC or DESC |
||
| 37 | * |
||
| 38 | * @return array[] |
||
| 39 | */ |
||
| 40 | public function getFields() { |
||
| 43 | } |
||
| 44 |