Conditions | 2 |
Paths | 2 |
Total Lines | 13 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
34 | private function getModuleNavigation() |
||
35 | { |
||
36 | $modules = $this->getDoctrine()->getRepository(Module::class)->findBy([ |
||
37 | "active" => true, |
||
38 | "displayed" => true |
||
39 | ]); |
||
40 | |||
41 | foreach ($modules as $module) { |
||
42 | $this->nav[] = [ |
||
43 | "right" => "ribsadmin@blog", |
||
44 | "url" => "ribsadmin_index", |
||
45 | "icon" => "", |
||
46 | "text" => $module->getTitle() |
||
47 | ]; |
||
50 | } |