@@ -54,20 +54,20 @@ |
||
| 54 | 54 | protected $u_action; |
| 55 | 55 | |
| 56 | 56 | /** |
| 57 | - * Constructor |
|
| 58 | - * |
|
| 59 | - * @param \phpbb\template\template $template Template object |
|
| 60 | - * @param \phpbb\language\language $language Language object |
|
| 61 | - * @param \phpbb\request\request $request Request object |
|
| 62 | - * @param \phpbb\ads\ad\manager $manager Advertisement manager object |
|
| 63 | - * @param \phpbb\config\db_text $config_text Config text object |
|
| 64 | - * @param \phpbb\config\config $config Config object |
|
| 65 | - * @param \phpbb\group\helper $group_helper Group helper object |
|
| 66 | - * @param \phpbb\ads\controller\admin_input $input Admin input object |
|
| 67 | - * @param \phpbb\ads\controller\admin_helper $helper Admin helper object |
|
| 68 | - * @param string $root_path phpBB root path |
|
| 69 | - * @param string $php_ext PHP extension |
|
| 70 | - */ |
|
| 57 | + * Constructor |
|
| 58 | + * |
|
| 59 | + * @param \phpbb\template\template $template Template object |
|
| 60 | + * @param \phpbb\language\language $language Language object |
|
| 61 | + * @param \phpbb\request\request $request Request object |
|
| 62 | + * @param \phpbb\ads\ad\manager $manager Advertisement manager object |
|
| 63 | + * @param \phpbb\config\db_text $config_text Config text object |
|
| 64 | + * @param \phpbb\config\config $config Config object |
|
| 65 | + * @param \phpbb\group\helper $group_helper Group helper object |
|
| 66 | + * @param \phpbb\ads\controller\admin_input $input Admin input object |
|
| 67 | + * @param \phpbb\ads\controller\admin_helper $helper Admin helper object |
|
| 68 | + * @param string $root_path phpBB root path |
|
| 69 | + * @param string $php_ext PHP extension |
|
| 70 | + */ |
|
| 71 | 71 | public function __construct(\phpbb\template\template $template, \phpbb\language\language $language, \phpbb\request\request $request, \phpbb\ads\ad\manager $manager, \phpbb\config\db_text $config_text, \phpbb\config\config $config, \phpbb\group\helper $group_helper, \phpbb\ads\controller\admin_input $input, \phpbb\ads\controller\admin_helper $helper, $root_path, $php_ext) |
| 72 | 72 | { |
| 73 | 73 | $this->template = $template; |
@@ -16,9 +16,9 @@ discard block |
||
| 16 | 16 | abstract class base implements \phpbb\ads\location\type\type_interface |
| 17 | 17 | { |
| 18 | 18 | /** |
| 19 | - * User object |
|
| 20 | - * @var \phpbb\user |
|
| 21 | - */ |
|
| 19 | + * User object |
|
| 20 | + * @var \phpbb\user |
|
| 21 | + */ |
|
| 22 | 22 | protected $user; |
| 23 | 23 | |
| 24 | 24 | /** |
@@ -28,11 +28,11 @@ discard block |
||
| 28 | 28 | protected $language; |
| 29 | 29 | |
| 30 | 30 | /** |
| 31 | - * Construct a template location object |
|
| 32 | - * |
|
| 33 | - * @param \phpbb\user $user User object |
|
| 34 | - * @param \phpbb\language\language $language Language object |
|
| 35 | - */ |
|
| 31 | + * Construct a template location object |
|
| 32 | + * |
|
| 33 | + * @param \phpbb\user $user User object |
|
| 34 | + * @param \phpbb\language\language $language Language object |
|
| 35 | + */ |
|
| 36 | 36 | public function __construct(\phpbb\user $user, \phpbb\language\language $language) |
| 37 | 37 | { |
| 38 | 38 | $this->user = $user; |
@@ -40,24 +40,24 @@ discard block |
||
| 40 | 40 | } |
| 41 | 41 | |
| 42 | 42 | /** |
| 43 | - * {@inheritDoc} |
|
| 44 | - */ |
|
| 43 | + * {@inheritDoc} |
|
| 44 | + */ |
|
| 45 | 45 | public function get_name() |
| 46 | 46 | { |
| 47 | 47 | return $this->language->lang('AD_' . strtoupper($this->get_id())); |
| 48 | 48 | } |
| 49 | 49 | |
| 50 | 50 | /** |
| 51 | - * {@inheritDoc} |
|
| 52 | - */ |
|
| 51 | + * {@inheritDoc} |
|
| 52 | + */ |
|
| 53 | 53 | public function get_desc() |
| 54 | 54 | { |
| 55 | 55 | return $this->language->lang('AD_' . strtoupper($this->get_id()) . '_DESC'); |
| 56 | 56 | } |
| 57 | 57 | |
| 58 | 58 | /** |
| 59 | - * {@inheritDoc} |
|
| 60 | - */ |
|
| 59 | + * {@inheritDoc} |
|
| 60 | + */ |
|
| 61 | 61 | public function will_display() |
| 62 | 62 | { |
| 63 | 63 | return true; |