@@ 5-27 (lines=23) @@ | ||
2 | ||
3 | namespace Admin; |
|
4 | ||
5 | class Module |
|
6 | { |
|
7 | ||
8 | public function registerAutoloaders() |
|
9 | { |
|
10 | ||
11 | } |
|
12 | ||
13 | public function registerServices($di) |
|
14 | { |
|
15 | $dispatcher = $di->get('dispatcher'); |
|
16 | $dispatcher->setDefaultNamespace("Admin\Controller"); |
|
17 | $di->set('dispatcher', $dispatcher); |
|
18 | ||
19 | /** |
|
20 | * Setting up the view component |
|
21 | */ |
|
22 | $view = $di->get('view'); |
|
23 | $view->setViewsDir(__DIR__ . '/views/'); |
|
24 | ||
25 | } |
|
26 | ||
27 | } |
@@ 5-27 (lines=23) @@ | ||
2 | ||
3 | namespace Cms; |
|
4 | ||
5 | class Module |
|
6 | { |
|
7 | ||
8 | public function registerAutoloaders() |
|
9 | { |
|
10 | ||
11 | } |
|
12 | ||
13 | public function registerServices($di) |
|
14 | { |
|
15 | $dispatcher = $di->get('dispatcher'); |
|
16 | $dispatcher->setDefaultNamespace("Cms\Controller"); |
|
17 | $di->set('dispatcher', $dispatcher); |
|
18 | ||
19 | /** |
|
20 | * Setting up the view component |
|
21 | */ |
|
22 | $view = $di->get('view'); |
|
23 | $view->setViewsDir(__DIR__ . '/views/'); |
|
24 | ||
25 | } |
|
26 | ||
27 | } |
@@ 5-27 (lines=23) @@ | ||
2 | ||
3 | namespace FileManager; |
|
4 | ||
5 | class Module |
|
6 | { |
|
7 | ||
8 | public function registerAutoloaders() |
|
9 | { |
|
10 | ||
11 | } |
|
12 | ||
13 | public function registerServices($di) |
|
14 | { |
|
15 | $dispatcher = $di->get('dispatcher'); |
|
16 | $dispatcher->setDefaultNamespace('FileManager\Controller'); |
|
17 | $di->set('dispatcher', $dispatcher); |
|
18 | ||
19 | /** |
|
20 | * Setting up the view component |
|
21 | */ |
|
22 | $view = $di->get('view'); |
|
23 | $view->setViewsDir(__DIR__ . '/views/'); |
|
24 | ||
25 | } |
|
26 | ||
27 | } |
@@ 5-27 (lines=23) @@ | ||
2 | ||
3 | namespace Index; |
|
4 | ||
5 | class Module |
|
6 | { |
|
7 | ||
8 | public function registerAutoloaders() |
|
9 | { |
|
10 | ||
11 | } |
|
12 | ||
13 | public function registerServices($di) |
|
14 | { |
|
15 | $dispatcher = $di->get('dispatcher'); |
|
16 | $dispatcher->setDefaultNamespace('Index\Controller'); |
|
17 | $di->set('dispatcher', $dispatcher); |
|
18 | ||
19 | /** |
|
20 | * Setting up the view component |
|
21 | */ |
|
22 | $view = $di->get('view'); |
|
23 | $view->setViewsDir(__DIR__ . '/views/'); |
|
24 | ||
25 | } |
|
26 | ||
27 | } |
@@ 5-27 (lines=23) @@ | ||
2 | ||
3 | namespace Page; |
|
4 | ||
5 | class Module |
|
6 | { |
|
7 | ||
8 | public function registerAutoloaders() |
|
9 | { |
|
10 | ||
11 | } |
|
12 | ||
13 | public function registerServices($di) |
|
14 | { |
|
15 | $dispatcher = $di->get('dispatcher'); |
|
16 | $dispatcher->setDefaultNamespace("Page\Controller"); |
|
17 | $di->set('dispatcher', $dispatcher); |
|
18 | ||
19 | /** |
|
20 | * Setting up the view component |
|
21 | */ |
|
22 | $view = $di->get('view'); |
|
23 | $view->setViewsDir(__DIR__ . '/views/'); |
|
24 | ||
25 | } |
|
26 | ||
27 | } |
@@ 5-27 (lines=23) @@ | ||
2 | ||
3 | namespace Publication; |
|
4 | ||
5 | class Module |
|
6 | { |
|
7 | ||
8 | public function registerAutoloaders() |
|
9 | { |
|
10 | ||
11 | } |
|
12 | ||
13 | public function registerServices($di) |
|
14 | { |
|
15 | $dispatcher = $di->get('dispatcher'); |
|
16 | $dispatcher->setDefaultNamespace("Publication\Controller"); |
|
17 | $di->set('dispatcher', $dispatcher); |
|
18 | ||
19 | /** |
|
20 | * Setting up the view component |
|
21 | */ |
|
22 | $view = $di->get('view'); |
|
23 | $view->setViewsDir(__DIR__ . '/views/'); |
|
24 | ||
25 | } |
|
26 | ||
27 | } |
@@ 5-27 (lines=23) @@ | ||
2 | ||
3 | namespace Seo; |
|
4 | ||
5 | class Module |
|
6 | { |
|
7 | ||
8 | public function registerAutoloaders() |
|
9 | { |
|
10 | ||
11 | } |
|
12 | ||
13 | public function registerServices($di) |
|
14 | { |
|
15 | $dispatcher = $di->get('dispatcher'); |
|
16 | $dispatcher->setDefaultNamespace('Seo\Controller'); |
|
17 | $di->set('dispatcher', $dispatcher); |
|
18 | ||
19 | /** |
|
20 | * Setting up the view component |
|
21 | */ |
|
22 | $view = $di->get('view'); |
|
23 | $view->setViewsDir(__DIR__ . '/views/'); |
|
24 | ||
25 | } |
|
26 | ||
27 | } |
@@ 5-26 (lines=22) @@ | ||
2 | ||
3 | namespace Sitemap; |
|
4 | ||
5 | class Module |
|
6 | { |
|
7 | ||
8 | public function registerAutoloaders() |
|
9 | { |
|
10 | ||
11 | } |
|
12 | ||
13 | public function registerServices($di) |
|
14 | { |
|
15 | $dispatcher = $di->get('dispatcher'); |
|
16 | $dispatcher->setDefaultNamespace("Sitemap\Controller"); |
|
17 | $di->set('dispatcher', $dispatcher); |
|
18 | ||
19 | /** |
|
20 | * Setting up the view component |
|
21 | */ |
|
22 | $view = $di->get('view'); |
|
23 | $view->setViewsDir(__DIR__ . '/views/'); |
|
24 | ||
25 | } |
|
26 | } |
@@ 5-27 (lines=23) @@ | ||
2 | ||
3 | namespace Tree; |
|
4 | ||
5 | class Module |
|
6 | { |
|
7 | ||
8 | public function registerAutoloaders() |
|
9 | { |
|
10 | ||
11 | } |
|
12 | ||
13 | public function registerServices($di) |
|
14 | { |
|
15 | $dispatcher = $di->get('dispatcher'); |
|
16 | $dispatcher->setDefaultNamespace('Tree\Controller'); |
|
17 | $di->set('dispatcher', $dispatcher); |
|
18 | ||
19 | /** |
|
20 | * Setting up the view component |
|
21 | */ |
|
22 | $view = $di->get('view'); |
|
23 | $view->setViewsDir(__DIR__ . '/views/'); |
|
24 | ||
25 | } |
|
26 | ||
27 | } |
@@ 5-27 (lines=23) @@ | ||
2 | ||
3 | namespace Widget; |
|
4 | ||
5 | class Module |
|
6 | { |
|
7 | ||
8 | public function registerAutoloaders() |
|
9 | { |
|
10 | ||
11 | } |
|
12 | ||
13 | public function registerServices($di) |
|
14 | { |
|
15 | $dispatcher = $di->get('dispatcher'); |
|
16 | $dispatcher->setDefaultNamespace('Widget\Controller'); |
|
17 | $di->set('dispatcher', $dispatcher); |
|
18 | ||
19 | /** |
|
20 | * Setting up the view component |
|
21 | */ |
|
22 | $view = $di->get('view'); |
|
23 | $view->setViewsDir(__DIR__ . '/views/'); |
|
24 | ||
25 | } |
|
26 | ||
27 | } |