Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
100.00% |
6 / 6 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
forum_rules | |
100.00% |
6 / 6 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
get_columns | |
100.00% |
6 / 6 |
|
100.00% |
1 / 1 |
1 |
1 | <?php |
2 | /** |
3 | * |
4 | * This file is part of the phpBB Forum Software package. |
5 | * |
6 | * @copyright (c) phpBB Limited <https://www.phpbb.com> |
7 | * @license GNU General Public License, version 2 (GPL-2.0) |
8 | * |
9 | * For full copyright and license information, please see |
10 | * the docs/CREDITS.txt file. |
11 | * |
12 | */ |
13 | |
14 | namespace phpbb\textreparser\plugins; |
15 | |
16 | class forum_rules extends \phpbb\textreparser\row_based_plugin |
17 | { |
18 | /** |
19 | * {@inheritdoc} |
20 | */ |
21 | public function get_columns() |
22 | { |
23 | return array( |
24 | 'id' => 'forum_id', |
25 | 'text' => 'forum_rules', |
26 | 'bbcode_uid' => 'forum_rules_uid', |
27 | 'options' => 'forum_rules_options', |
28 | ); |
29 | } |
30 | } |