@@ -28,7 +28,7 @@ |
||
| 28 | 28 | * @param \phpbb\language\language $language Language Object |
| 29 | 29 | * @param \phpbb\template\template $template Template object |
| 30 | 30 | * @param \blitze\content\services\types $content_types Content types object |
| 31 | - */ |
|
| 31 | + */ |
|
| 32 | 32 | public function __construct(\phpbb\language\language $language, \phpbb\template\template $template, \blitze\content\services\types $content_types) |
| 33 | 33 | { |
| 34 | 34 | $this->language = $language; |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | * @param \blitze\content\services\types $content_types Content types object |
| 31 | 31 | * @param \blitze\content\model\mapper_factory $mapper_factory Mapper factory object |
| 32 | 32 | * @param boolean $redirect Used for testing |
| 33 | - */ |
|
| 33 | + */ |
|
| 34 | 34 | public function __construct(\phpbb\cache\driver\driver_interface $cache, \blitze\content\services\types $content_types, \blitze\content\model\mapper_factory $mapper_factory, $redirect = true) |
| 35 | 35 | { |
| 36 | 36 | $this->cache = $cache; |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | * @param string $phpbb_root_path Path to the phpbb includes directory. |
| 45 | 45 | * @param string $relative_admin_path Relative admin root path |
| 46 | 46 | * @param string $php_ext php file extension |
| 47 | - */ |
|
| 47 | + */ |
|
| 48 | 48 | public function __construct(\phpbb\controller\helper $controller_helper, \phpbb\language\language $language, \phpbb\template\template $template, \blitze\content\services\types $content_types, $phpbb_root_path, $relative_admin_path, $php_ext) |
| 49 | 49 | { |
| 50 | 50 | $this->controller_helper = $controller_helper; |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | * @param \phpbb\user $user User object |
| 35 | 35 | * @param string $phpbb_root_path Path to the phpbb includes directory. |
| 36 | 36 | * @param string $php_ext php file extension |
| 37 | - */ |
|
| 37 | + */ |
|
| 38 | 38 | public function __construct(\phpbb\auth\auth $auth, \phpbb\template\template $template, \phpbb\user $user, $phpbb_root_path, $php_ext) |
| 39 | 39 | { |
| 40 | 40 | $this->auth = $auth; |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | * |
| 23 | 23 | * @param \blitze\sitemaker\services\poll $poll Poll Object |
| 24 | 24 | * @param \blitze\sitemaker\services\template $ptemplate Sitemaker Template Object |
| 25 | - */ |
|
| 25 | + */ |
|
| 26 | 26 | public function __construct(\blitze\sitemaker\services\poll $poll, \blitze\sitemaker\services\template $ptemplate) |
| 27 | 27 | { |
| 28 | 28 | $this->poll = $poll; |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | * @param \phpbb\user $user User object |
| 43 | 43 | * @param string $root_path Path to the phpbb includes directory. |
| 44 | 44 | * @param string $php_ext php file extension |
| 45 | - */ |
|
| 45 | + */ |
|
| 46 | 46 | public function __construct(\phpbb\auth\auth $auth, \phpbb\config\config $config, \phpbb\language\language $language, \phpbb\template\template $template, \phpbb\user $user, $root_path, $php_ext) |
| 47 | 47 | { |
| 48 | 48 | $this->auth = $auth; |
@@ -58,7 +58,7 @@ |
||
| 58 | 58 | * @param \blitze\content\services\topic $topic Topic object |
| 59 | 59 | * @param string $root_path Path to the phpbb directory. |
| 60 | 60 | * @param string $php_ext php file extension |
| 61 | - */ |
|
| 61 | + */ |
|
| 62 | 62 | public function __construct(\phpbb\auth\auth $auth, \phpbb\config\config $config, \phpbb\content_visibility $content_visibility, \phpbb\db\driver\driver_interface $db, \phpbb\language\language $language, \phpbb\pagination $pagination, \phpbb\request\request_interface $request, \phpbb\template\template $template, \phpbb\template\context $template_context, \phpbb\user $user, \blitze\sitemaker\services\forum\data $forum, \blitze\content\services\topic $topic, $root_path, $php_ext) |
| 63 | 63 | { |
| 64 | 64 | parent::__construct($auth, $config, $language, $template, $user, $root_path, $php_ext); |
@@ -34,10 +34,10 @@ |
||
| 34 | 34 | } |
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | - * Get the url to this item |
|
| 38 | - * |
|
| 39 | - * @return string URL |
|
| 40 | - */ |
|
| 37 | + * Get the url to this item |
|
| 38 | + * |
|
| 39 | + * @return string URL |
|
| 40 | + */ |
|
| 41 | 41 | public function get_url() |
| 42 | 42 | { |
| 43 | 43 | if ($type = $this->types->get_forum_type($this->item_parent_id)) |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | * @param \blitze\content\services\fields $fields Content fields object |
| 37 | 37 | * @param string $phpbb_root_path Path to the phpbb includes directory. |
| 38 | 38 | * @param string $php_ext php file extension |
| 39 | - */ |
|
| 39 | + */ |
|
| 40 | 40 | public function __construct(\phpbb\db\driver\driver_interface $db, \blitze\content\services\types $content_types, \blitze\content\services\fields $fields, $phpbb_root_path, $php_ext) |
| 41 | 41 | { |
| 42 | 42 | $this->db = $db; |