Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
13 | function indexAction() |
||
|
|||
14 | { |
||
15 | $this->view->setTitle('Настройка доступа к разделам сайта'); |
||
16 | $defaultConfig = $this->module->config['access']['accessTree']; |
||
17 | $modules = Module::getInstalled(\App::$cur->primary); |
||
18 | $this->view->page(['data' => compact('modules', 'defaultConfig')]); |
||
19 | } |
||
20 | |||
22 |
Adding explicit visibility (
private
,protected
, orpublic
) is generally recommend to communicate to other developers how, and from where this method is intended to be used.