1 | <?php namespace VojtaSvoboda\Reservations\Controllers; |
||
8 | class Statuses extends Controller |
||
9 | { |
||
10 | public $implement = [ |
||
11 | 'Backend\Behaviors\ListController', |
||
12 | 'Backend\Behaviors\FormController', |
||
13 | 'Backend\Behaviors\ReorderController', |
||
14 | ]; |
||
15 | |||
16 | public $listConfig = 'config_list.yaml'; |
||
17 | public $formConfig = 'config_form.yaml'; |
||
18 | public $reorderConfig = 'config_reorder.yaml'; |
||
19 | |||
20 | public $requiredPermissions = [ |
||
21 | 'vojtasvoboda.reservations.statuses', |
||
22 | ]; |
||
23 | |||
24 | public function __construct() |
||
30 | |||
31 | /** |
||
32 | * Override displaying status listing. |
||
33 | * |
||
34 | * @param Status $record |
||
35 | * @param string $columnName |
||
36 | * |
||
37 | * @return string |
||
38 | */ |
||
39 | public function listOverrideColumnValue($record, $columnName) |
||
45 | } |
||
46 |