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