| 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 | 1 | 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 | 1 | } |
|
| 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 | 1 | 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 |