@@ 52-61 (lines=10) @@ | ||
49 | * @param string $root_path phpBB root path |
|
50 | * @param string $php_ext PHP extension |
|
51 | */ |
|
52 | public function __construct(\phpbb\user $user, \phpbb\language\language $language, \phpbb\template\template $template, \phpbb\log\log $log, \phpbb\ads\location\manager $location_manager, $root_path, $php_ext) |
|
53 | { |
|
54 | $this->user = $user; |
|
55 | $this->language = $language; |
|
56 | $this->template = $template; |
|
57 | $this->log = $log; |
|
58 | $this->location_manager = $location_manager; |
|
59 | $this->root_path = $root_path; |
|
60 | $this->php_ext = $php_ext; |
|
61 | } |
|
62 | ||
63 | /** |
|
64 | * Assign template locations data to the template. |
@@ 67-76 (lines=10) @@ | ||
64 | * @param \phpbb\ads\location\manager $location_manager Template location manager object |
|
65 | * @param \phpbb\controller\helper $controller_helper Controller helper object |
|
66 | */ |
|
67 | public function __construct(\phpbb\template\template $template, \phpbb\user $user, \phpbb\config\db_text $config_text, \phpbb\config\config $config, \phpbb\ads\ad\manager $manager, \phpbb\ads\location\manager $location_manager, \phpbb\controller\helper $controller_helper) |
|
68 | { |
|
69 | $this->template = $template; |
|
70 | $this->user = $user; |
|
71 | $this->config_text = $config_text; |
|
72 | $this->config = $config; |
|
73 | $this->manager = $manager; |
|
74 | $this->location_manager = $location_manager; |
|
75 | $this->controller_helper = $controller_helper; |
|
76 | } |
|
77 | ||
78 | /** |
|
79 | * Load common language file during user setup |