1 | <?php |
||
14 | class manager |
||
15 | { |
||
16 | /** @var \phpbb\auth\auth */ |
||
17 | protected $auth; |
||
18 | |||
19 | /** @var \phpbb\cache\driver\driver_interface */ |
||
20 | protected $cache; |
||
21 | |||
22 | /** @var \phpbb\config\config */ |
||
23 | protected $config; |
||
24 | |||
25 | /** @var \phpbb\db\driver\driver_interface */ |
||
26 | protected $db; |
||
27 | |||
28 | /** @var \acp_forums */ |
||
29 | protected $forum; |
||
30 | |||
31 | /** @var string */ |
||
32 | protected $phpbb_root_path; |
||
33 | |||
34 | /** @var string */ |
||
35 | protected $php_ext; |
||
36 | |||
37 | /** |
||
38 | * Constructor |
||
39 | * |
||
40 | * @param \phpbb\auth\auth $auth Auth object |
||
41 | * @param \phpbb\cache\driver\driver_interface $cache Cache driver interface |
||
42 | * @param \phpbb\config\config $config Config object |
||
43 | * @param \phpbb\db\driver\driver_interface $db Database object |
||
44 | * @param \phpbb\language\language $translator Language object |
||
45 | * @param string $phpbb_root_path Path to the phpbb includes directory. |
||
46 | * @param string $php_ext php file extension |
||
47 | */ |
||
48 | 2 | public function __construct(\phpbb\auth\auth $auth, \phpbb\cache\driver\driver_interface $cache, \phpbb\config\config $config, \phpbb\db\driver\driver_interface $db, \phpbb\language\language $translator, $phpbb_root_path, $php_ext) |
|
64 | |||
65 | 1 | public function add(array &$forum_data, $forum_perm_from = 0) |
|
90 | |||
91 | 1 | public function remove($forum_id, $action_posts = 'delete', $action_subforums = 'delete', $posts_to_id = 0, $subforums_to_id = 0) |
|
95 | } |
||
96 |