@@ 85-102 (lines=18) @@ | ||
82 | * @param string $root_path phpBB root path |
|
83 | * @param string $php_ext phpEx |
|
84 | */ |
|
85 | public function __construct(\phpbb\config\config $config, \phpbb\db\driver\driver_interface $db, \phpbb\pagination $pagination, \phpbb\language\language $language, \phpbb\log\log $log, \phpbb\notification\manager $notification, \phpbb\request\request $request, \phpbb\template\template $template, \phpbb\user $user, \ernadoo\phpbbdirectory\core\categorie $categorie, \ernadoo\phpbbdirectory\core\link $link, $root_path, $php_ext) |
|
86 | { |
|
87 | $this->config = $config; |
|
88 | $this->db = $db; |
|
89 | $this->pagination = $pagination; |
|
90 | $this->language = $language; |
|
91 | $this->phpbb_log = $log; |
|
92 | $this->notification = $notification; |
|
93 | $this->request = $request; |
|
94 | $this->template = $template; |
|
95 | $this->user = $user; |
|
96 | $this->categorie = $categorie; |
|
97 | $this->link = $link; |
|
98 | $this->root_path = $root_path; |
|
99 | $this->php_ext = $php_ext; |
|
100 | ||
101 | $this->action = $this->request->variable('action', ''); |
|
102 | } |
|
103 | ||
104 | /** |
|
105 | * Display confirm box |
@@ 77-93 (lines=17) @@ | ||
74 | * @param string $root_path phpBB root path |
|
75 | * @param string $php_ext phpEx |
|
76 | */ |
|
77 | public function __construct(\phpbb\db\driver\driver_interface $db, \phpbb\config\config $config, \phpbb\language\language $language, \phpbb\template\template $template, \phpbb\user $user, \phpbb\controller\helper $helper, \phpbb\request\request $request, \phpbb\auth\auth $auth, \phpbb\notification\manager $notification, \phpbb\filesystem\filesystem_interface $filesystem, \FastImageSize\FastImageSize $imagesize, \phpbb\files\upload $files_upload, $root_path, $php_ext) |
|
78 | { |
|
79 | $this->db = $db; |
|
80 | $this->config = $config; |
|
81 | $this->language = $language; |
|
82 | $this->template = $template; |
|
83 | $this->user = $user; |
|
84 | $this->helper = $helper; |
|
85 | $this->request = $request; |
|
86 | $this->auth = $auth; |
|
87 | $this->notification = $notification; |
|
88 | $this->filesystem = $filesystem; |
|
89 | $this->imagesize = $imagesize; |
|
90 | $this->files_upload = $files_upload; |
|
91 | $this->root_path = $root_path; |
|
92 | $this->php_ext = $php_ext; |
|
93 | } |
|
94 | ||
95 | /** |
|
96 | * Add a link into db |