[ticket/289] Add helper class for controller

This commit is contained in:
Marc Alexander
2014-07-25 13:13:14 +02:00
parent 1d37cbec80
commit 6b8fcf120d
4 changed files with 427 additions and 155 deletions

View File

@@ -17,6 +17,19 @@ parameters:
services:
board3.portal.main:
class: board3\portal\controller\main
arguments:
- @config
- @board3.portal.controller_helper
- @template
- @user
- @path_helper
- %core.root_path%
- .%core.php_ext%
- %board3.config.table%
- %board3.modules.table%
board3.portal.controller_helper:
class: board3\portal\controller\helper
arguments:
- @auth
- @config
@@ -26,8 +39,6 @@ services:
- @board3.portal.helper
- %core.root_path%
- .%core.php_ext%
- %board3.config.table%
- %board3.modules.table%
board3.version.check:
class: board3\portal\includes\version_check