@@ -13,8 +13,8 @@ |
||
13 | 13 | class above_header extends base |
14 | 14 | { |
15 | 15 | /** |
16 | - * {@inheritDoc} |
|
17 | - */ |
|
16 | + * {@inheritDoc} |
|
17 | + */ |
|
18 | 18 | public function get_id() |
19 | 19 | { |
20 | 20 | return 'above_header'; |
@@ -13,16 +13,16 @@ |
||
13 | 13 | class after_posts extends base |
14 | 14 | { |
15 | 15 | /** |
16 | - * {@inheritDoc} |
|
17 | - */ |
|
16 | + * {@inheritDoc} |
|
17 | + */ |
|
18 | 18 | public function get_id() |
19 | 19 | { |
20 | 20 | return 'after_posts'; |
21 | 21 | } |
22 | 22 | |
23 | 23 | /** |
24 | - * {@inheritDoc} |
|
25 | - */ |
|
24 | + * {@inheritDoc} |
|
25 | + */ |
|
26 | 26 | public function will_display() |
27 | 27 | { |
28 | 28 | return strpos($this->user->page['page_name'], 'viewtopic') !== false; |
@@ -13,8 +13,8 @@ |
||
13 | 13 | class below_header extends base |
14 | 14 | { |
15 | 15 | /** |
16 | - * {@inheritDoc} |
|
17 | - */ |
|
16 | + * {@inheritDoc} |
|
17 | + */ |
|
18 | 18 | public function get_id() |
19 | 19 | { |
20 | 20 | return 'below_header'; |
@@ -13,16 +13,16 @@ |
||
13 | 13 | class after_first_post extends base |
14 | 14 | { |
15 | 15 | /** |
16 | - * {@inheritDoc} |
|
17 | - */ |
|
16 | + * {@inheritDoc} |
|
17 | + */ |
|
18 | 18 | public function get_id() |
19 | 19 | { |
20 | 20 | return 'after_first_post'; |
21 | 21 | } |
22 | 22 | |
23 | 23 | /** |
24 | - * {@inheritDoc} |
|
25 | - */ |
|
24 | + * {@inheritDoc} |
|
25 | + */ |
|
26 | 26 | public function will_display() |
27 | 27 | { |
28 | 28 | return strpos($this->user->page['page_name'], 'viewtopic') !== false; |
@@ -13,16 +13,16 @@ |
||
13 | 13 | class after_profile extends base |
14 | 14 | { |
15 | 15 | /** |
16 | - * {@inheritDoc} |
|
17 | - */ |
|
16 | + * {@inheritDoc} |
|
17 | + */ |
|
18 | 18 | public function get_id() |
19 | 19 | { |
20 | 20 | return 'after_profile'; |
21 | 21 | } |
22 | 22 | |
23 | 23 | /** |
24 | - * {@inheritDoc} |
|
25 | - */ |
|
24 | + * {@inheritDoc} |
|
25 | + */ |
|
26 | 26 | public function will_display() |
27 | 27 | { |
28 | 28 | return strpos($this->user->page['page_name'], 'memberlist') !== false && strpos($this->user->page['query_string'], 'viewprofile') !== false; |
@@ -13,16 +13,16 @@ |
||
13 | 13 | class before_profile extends base |
14 | 14 | { |
15 | 15 | /** |
16 | - * {@inheritDoc} |
|
17 | - */ |
|
16 | + * {@inheritDoc} |
|
17 | + */ |
|
18 | 18 | public function get_id() |
19 | 19 | { |
20 | 20 | return 'before_profile'; |
21 | 21 | } |
22 | 22 | |
23 | 23 | /** |
24 | - * {@inheritDoc} |
|
25 | - */ |
|
24 | + * {@inheritDoc} |
|
25 | + */ |
|
26 | 26 | public function will_display() |
27 | 27 | { |
28 | 28 | return strpos($this->user->page['page_name'], 'memberlist') !== false && strpos($this->user->page['query_string'], 'viewprofile') !== false; |
@@ -13,16 +13,16 @@ |
||
13 | 13 | class after_not_first_post extends base |
14 | 14 | { |
15 | 15 | /** |
16 | - * {@inheritDoc} |
|
17 | - */ |
|
16 | + * {@inheritDoc} |
|
17 | + */ |
|
18 | 18 | public function get_id() |
19 | 19 | { |
20 | 20 | return 'after_not_first_post'; |
21 | 21 | } |
22 | 22 | |
23 | 23 | /** |
24 | - * {@inheritDoc} |
|
25 | - */ |
|
24 | + * {@inheritDoc} |
|
25 | + */ |
|
26 | 26 | public function will_display() |
27 | 27 | { |
28 | 28 | return strpos($this->user->page['page_name'], 'viewtopic') !== false; |
@@ -13,8 +13,8 @@ |
||
13 | 13 | class below_footer extends base |
14 | 14 | { |
15 | 15 | /** |
16 | - * {@inheritDoc} |
|
17 | - */ |
|
16 | + * {@inheritDoc} |
|
17 | + */ |
|
18 | 18 | public function get_id() |
19 | 19 | { |
20 | 20 | return 'below_footer'; |
@@ -48,8 +48,8 @@ discard block |
||
48 | 48 | protected $ad_preview; |
49 | 49 | |
50 | 50 | /** |
51 | - * {@inheritdoc} |
|
52 | - */ |
|
51 | + * {@inheritdoc} |
|
52 | + */ |
|
53 | 53 | static public function getSubscribedEvents() |
54 | 54 | { |
55 | 55 | return array( |
@@ -58,17 +58,17 @@ discard block |
||
58 | 58 | } |
59 | 59 | |
60 | 60 | /** |
61 | - * Constructor |
|
62 | - * |
|
63 | - * @param \phpbb\request\request $request Request object |
|
64 | - * @param \phpbb\template\template $template Template object |
|
65 | - * @param \phpbb\user $user User object |
|
66 | - * @param \phpbb\config\config $config Config object |
|
67 | - * @param \phpbb\admanagement\ad\manager $manager Advertisement manager object |
|
68 | - * @param \phpbb\admanagement\location\manager $location_manager Template location manager object |
|
69 | - * @param string $root_path phpBB root path |
|
70 | - * @param string $php_ext PHP extension |
|
71 | - */ |
|
61 | + * Constructor |
|
62 | + * |
|
63 | + * @param \phpbb\request\request $request Request object |
|
64 | + * @param \phpbb\template\template $template Template object |
|
65 | + * @param \phpbb\user $user User object |
|
66 | + * @param \phpbb\config\config $config Config object |
|
67 | + * @param \phpbb\admanagement\ad\manager $manager Advertisement manager object |
|
68 | + * @param \phpbb\admanagement\location\manager $location_manager Template location manager object |
|
69 | + * @param string $root_path phpBB root path |
|
70 | + * @param string $php_ext PHP extension |
|
71 | + */ |
|
72 | 72 | public function __construct(\phpbb\request\request $request, \phpbb\template\template $template, \phpbb\user $user, \phpbb\config\config $config, \phpbb\admanagement\ad\manager $manager, \phpbb\admanagement\location\manager $location_manager, $root_path, $php_ext) |
73 | 73 | { |
74 | 74 | $this->request = $request; |