Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
5 / 5 |
| forum_rules | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
5 / 5 |
| get_columns | |
100.00% |
1 / 1 |
1 | |
100.00% |
5 / 5 |
|||
| <?php | |
| /** | |
| * | |
| * This file is part of the phpBB Forum Software package. | |
| * | |
| * @copyright (c) phpBB Limited <https://www.phpbb.com> | |
| * @license GNU General Public License, version 2 (GPL-2.0) | |
| * | |
| * For full copyright and license information, please see | |
| * the docs/CREDITS.txt file. | |
| * | |
| */ | |
| namespace phpbb\textreparser\plugins; | |
| class forum_rules extends \phpbb\textreparser\row_based_plugin | |
| { | |
| /** | |
| * {@inheritdoc} | |
| */ | |
| public function get_columns() | |
| { | |
| return array( | |
| 'id' => 'forum_id', | |
| 'text' => 'forum_rules', | |
| 'bbcode_uid' => 'forum_rules_uid', | |
| 'options' => 'forum_rules_options', | |
| ); | |
| } | |
| } |