1 | <?php |
||
12 | class options |
||
13 | { |
||
14 | /** |
||
15 | * Constructor |
||
16 | * |
||
17 | * @param string $phpbb_root_path Path to the phpbb includes directory. |
||
18 | * @param string $php_ext php file extension |
||
19 | */ |
||
20 | 11 | public function __construct($phpbb_root_path, $php_ext) |
|
21 | { |
||
22 | // @codeCoverageIgnoreStart |
||
23 | if (!function_exists('make_forum_select')) |
||
24 | { |
||
25 | include($phpbb_root_path . 'includes/functions_admin.' . $php_ext); |
||
26 | } |
||
27 | // @codeCoverageIgnoreEnd |
||
28 | 11 | } |
|
29 | |||
30 | /** |
||
31 | * @param bool $select_id |
||
32 | * @param bool $ignore_id |
||
33 | * @param bool $ignore_acl |
||
34 | * @param bool $ignore_nonpost |
||
35 | * @param bool $ignore_emptycat |
||
36 | * @param bool $only_acl_post |
||
37 | * @return array |
||
38 | */ |
||
39 | 2 | public function get_all($select_id = false, $ignore_id = false, $ignore_acl = true, $ignore_nonpost = false, $ignore_emptycat = true, $only_acl_post = false) |
|
51 | |||
52 | /** |
||
53 | * Get array of topic types. |
||
54 | * This is used primarily by blocks config and the values are translated automatically |
||
55 | * |
||
56 | * @return array |
||
57 | */ |
||
58 | 2 | public function get_topic_types() |
|
67 | } |
||
68 |