cat_description   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 15
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A get_columns() 0 9 1
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 cat_description extends \phpbb\textreparser\row_based_plugin
14
{
15
	/**
16
	* {@inheritdoc}
17
	*/
18
	public function get_columns()
19
	{
20
		return array(
21
			'id'         => 'cat_id',
22
			'text'       => 'cat_desc',
23
			'bbcode_uid' => 'cat_desc_uid',
24
			'options'    => 'cat_desc_options',
25
		);
26
	}
27
}
28