Total Complexity | 4 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | class Users_NoAccessModal_View extends \App\Controller\Modal |
||
16 | { |
||
17 | /** |
||
18 | * Event parameters. |
||
19 | */ |
||
20 | public const MODAL_EVENT = [ |
||
21 | 'name' => 'NoAccessModal', |
||
22 | 'priority' => 10, |
||
23 | 'type' => 'modal', |
||
24 | 'execution' => 'constant', |
||
25 | 'url' => 'index.php?module=Users&view=NoAccessModal', |
||
26 | ]; |
||
27 | /** {@inheritdoc} */ |
||
28 | public $modalSize = 'modal-lg'; |
||
29 | |||
30 | /** {@inheritdoc} */ |
||
31 | public $pageTitle = 'LBL_NO_ACCESS_TITLE'; |
||
32 | |||
33 | /** {@inheritdoc} */ |
||
34 | public $modalIcon = 'fas fa-radiation-alt'; |
||
35 | |||
36 | /** @inheritdoc */ |
||
37 | public $lockExit = true; |
||
38 | |||
39 | /** @inheritdoc */ |
||
40 | public $showFooter = false; |
||
41 | |||
42 | /** {@inheritdoc} */ |
||
43 | public function checkPermission(App\Request $request): void |
||
47 | } |
||
48 | } |
||
49 | |||
50 | /** {@inheritdoc} */ |
||
51 | public function process(App\Request $request): void |
||
57 |