Completed
Push — 3.2.x ( 01dc0a...dfb6c5 )
by Erwan
03:44
created

comment_text::get_table_name()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 4
rs 10
c 1
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
/**
3
*
4
* phpBB Directory extension for the phpBB Forum Software package.
5
*
6
* @copyright (c) 2015 phpBB Limited <https://www.phpbb.com>
7
* @license GNU General Public License, version 2 (GPL-2.0)
8
*
9
*/
10
11
namespace ernadoo\phpbbdirectory\textreparser\plugins;
12
13
class comment_text extends \phpbb\textreparser\row_based_plugin
14
{
15
	/**
16
	* {@inheritdoc}
17
	*/
18
	public function get_columns()
19
	{
20
		return array(
21
			'id'         => 'comment_id',
22
			'text'       => 'comment_text',
23
			'bbcode_uid' => 'comment_uid',
24
			'options'    => 'comment_flags',
25
		);
26
	}
27
}
28