1 | <?php |
||
13 | class permission_helper |
||
14 | { |
||
15 | /** |
||
16 | * @var \phpbb\config\config |
||
17 | */ |
||
18 | protected $config; |
||
19 | |||
20 | /** |
||
21 | * @var \phpbb\db\driver\driver_interface |
||
22 | */ |
||
23 | protected $db; |
||
24 | |||
25 | /** |
||
26 | * @var string |
||
27 | */ |
||
28 | protected $phpbb_root_path; |
||
29 | |||
30 | /** |
||
31 | * @var string |
||
32 | */ |
||
33 | protected $php_ext; |
||
34 | |||
35 | /** |
||
36 | * Constructor |
||
37 | * |
||
38 | * @param \phpbb\config\config $config Config object |
||
39 | * @param \phpbb\db\driver\driver_interface $db Database object |
||
40 | * @param string $phpbb_root_path phpBB root path |
||
41 | * @param string $php_ext php_ext |
||
42 | * @access public |
||
43 | */ |
||
44 | public function __construct(\phpbb\config\config $config, \phpbb\db\driver\driver_interface $db, $phpbb_root_path, $php_ext) |
||
51 | |||
52 | /** |
||
53 | * Set the the best permissions for an Ideas forum. |
||
54 | * |
||
55 | * @param int $forum_id A forum id |
||
56 | */ |
||
57 | public function set_ideas_forum_permissions($forum_id) |
||
91 | } |
||
92 |