| 1 | <?php |
||
| 8 | class Table |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * If set to true, reverses the order of the annotations table and displays them in ascending order. |
||
| 12 | * |
||
| 13 | * @var bool |
||
| 14 | */ |
||
| 15 | protected $sortAscending; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * The column index of the annotations table for which the annotations will be sorted. The index must be either 0, |
||
| 19 | * for the annotation label column, or 1, for the annotation text column. |
||
| 20 | * |
||
| 21 | * @var int |
||
| 22 | */ |
||
| 23 | protected $sortColumn; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param bool $sortAscending |
||
| 27 | * |
||
| 28 | * @return $this |
||
| 29 | */ |
||
| 30 | 1 | public function setSortAscending($sortAscending) |
|
| 36 | |||
| 37 | /** |
||
| 38 | * @param int $sortColumn |
||
| 39 | * |
||
| 40 | * @return $this |
||
| 41 | */ |
||
| 42 | 1 | public function setSortColumn($sortColumn) |
|
| 48 | } |
||
| 49 |