| 1 | <?php | ||
| 24 | trait FixedOrderByTrait | ||
| 25 | { | ||
| 26 |     use OrderByTrait { | ||
| 27 | applyEmptyOrderByParams as traitApplyEmptyOrderByParams; | ||
| 28 | } | ||
| 29 | |||
| 30 | /** | ||
| 31 | * @var bool Whether results should be returned in the order specified by [[domain]]. | ||
| 32 | */ | ||
| 33 | public $fixedOrder = false; | ||
| 34 | |||
| 35 | /** | ||
| 36 | * @return string | ||
| 37 | */ | ||
| 38 | abstract protected function fixedOrderColumn(): string; | ||
| 39 | |||
| 40 | /** | ||
| 41 | * @param Connection $db | ||
| 42 | * @throws Exception | ||
| 43 | * @throws QueryAbortedException | ||
| 44 | */ | ||
| 45 | protected function applyEmptyOrderByParams(Connection $db) | ||
| 67 | } | ||
| 68 |