@@ -27,13 +27,13 @@ discard block |
||
27 | 27 | protected $user; |
28 | 28 | |
29 | 29 | /** |
30 | - * Constructor |
|
31 | - * |
|
32 | - * @param \phpbb\config\config $config Config object |
|
33 | - * @param \phpbb\template\template $template Template object |
|
34 | - * @param \phpbb\user $user User object |
|
35 | - * @access public |
|
36 | - */ |
|
30 | + * Constructor |
|
31 | + * |
|
32 | + * @param \phpbb\config\config $config Config object |
|
33 | + * @param \phpbb\template\template $template Template object |
|
34 | + * @param \phpbb\user $user User object |
|
35 | + * @access public |
|
36 | + */ |
|
37 | 37 | public function __construct(\phpbb\config\config $config, \phpbb\template\template $template, \phpbb\user $user) |
38 | 38 | { |
39 | 39 | $this->config = $config; |
@@ -42,12 +42,12 @@ discard block |
||
42 | 42 | } |
43 | 43 | |
44 | 44 | /** |
45 | - * Assign functions defined in this class to event listeners in the core |
|
46 | - * |
|
47 | - * @return array |
|
48 | - * @static |
|
49 | - * @access public |
|
50 | - */ |
|
45 | + * Assign functions defined in this class to event listeners in the core |
|
46 | + * |
|
47 | + * @return array |
|
48 | + * @static |
|
49 | + * @access public |
|
50 | + */ |
|
51 | 51 | public static function getSubscribedEvents() |
52 | 52 | { |
53 | 53 | return array( |
@@ -58,11 +58,11 @@ discard block |
||
58 | 58 | } |
59 | 59 | |
60 | 60 | /** |
61 | - * Load Google Analytics js code |
|
62 | - * |
|
63 | - * @return void |
|
64 | - * @access public |
|
65 | - */ |
|
61 | + * Load Google Analytics js code |
|
62 | + * |
|
63 | + * @return void |
|
64 | + * @access public |
|
65 | + */ |
|
66 | 66 | public function load_google_analytics() |
67 | 67 | { |
68 | 68 | $this->template->assign_vars(array( |
@@ -74,12 +74,12 @@ discard block |
||
74 | 74 | } |
75 | 75 | |
76 | 76 | /** |
77 | - * Add config vars to ACP Board Settings |
|
78 | - * |
|
79 | - * @param \phpbb\event\data $event The event object |
|
80 | - * @return void |
|
81 | - * @access public |
|
82 | - */ |
|
77 | + * Add config vars to ACP Board Settings |
|
78 | + * |
|
79 | + * @param \phpbb\event\data $event The event object |
|
80 | + * @return void |
|
81 | + * @access public |
|
82 | + */ |
|
83 | 83 | public function add_googleanalytics_configs($event) |
84 | 84 | { |
85 | 85 | // Add a config to the settings mode, after warnings_expire_days |
@@ -129,12 +129,12 @@ discard block |
||
129 | 129 | } |
130 | 130 | |
131 | 131 | /** |
132 | - * Validate the Google Analytics ID |
|
133 | - * |
|
134 | - * @param \phpbb\event\data $event The event object |
|
135 | - * @return void |
|
136 | - * @access public |
|
137 | - */ |
|
132 | + * Validate the Google Analytics ID |
|
133 | + * |
|
134 | + * @param \phpbb\event\data $event The event object |
|
135 | + * @return void |
|
136 | + * @access public |
|
137 | + */ |
|
138 | 138 | public function validate_googleanalytics_id($event) |
139 | 139 | { |
140 | 140 | // Check if the validate test is for google_analytics |