Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
100.00% |
8 / 8 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
pm_text | |
100.00% |
8 / 8 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
get_columns | |
100.00% |
8 / 8 |
|
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 pm_text extends \phpbb\textreparser\row_based_plugin |
17 | { |
18 | /** |
19 | * {@inheritdoc} |
20 | */ |
21 | public function get_columns() |
22 | { |
23 | return array( |
24 | 'id' => 'msg_id', |
25 | 'enable_bbcode' => 'enable_bbcode', |
26 | 'enable_smilies' => 'enable_smilies', |
27 | 'enable_magic_url' => 'enable_magic_url', |
28 | 'text' => 'message_text', |
29 | 'bbcode_uid' => 'bbcode_uid', |
30 | ); |
31 | } |
32 | } |