@@ 11-29 (lines=19) @@ | ||
8 | /** |
|
9 | * Shows Back-end Controller |
|
10 | */ |
|
11 | class Shows extends Controller |
|
12 | { |
|
13 | public $implement = [ |
|
14 | 'Backend.Behaviors.FormController', |
|
15 | 'Backend.Behaviors.ListController' |
|
16 | ]; |
|
17 | ||
18 | public $formConfig = 'config_form.yaml'; |
|
19 | public $listConfig = 'config_list.yaml'; |
|
20 | ||
21 | public $requiredPermissions = ['cosmicradiotv.podcast.access_show*']; |
|
22 | ||
23 | public function __construct() |
|
24 | { |
|
25 | parent::__construct(); |
|
26 | ||
27 | BackendMenu::setContext('CosmicRadioTV.Podcast', 'podcast', 'shows'); |
|
28 | } |
|
29 | } |
@@ 9-27 (lines=19) @@ | ||
6 | /** |
|
7 | * Tags Back-end Controller |
|
8 | */ |
|
9 | class Tags extends Controller |
|
10 | { |
|
11 | public $implement = [ |
|
12 | 'Backend.Behaviors.FormController', |
|
13 | 'Backend.Behaviors.ListController' |
|
14 | ]; |
|
15 | ||
16 | public $formConfig = 'config_form.yaml'; |
|
17 | public $listConfig = 'config_list.yaml'; |
|
18 | ||
19 | public $requiredPermissions = ['cosmicradiotv.podcast.access_tags']; |
|
20 | ||
21 | public function __construct() |
|
22 | { |
|
23 | parent::__construct(); |
|
24 | ||
25 | BackendMenu::setContext('CosmicRadioTV.Podcast', 'podcast', 'tags'); |
|
26 | } |
|
27 | } |