acp_pmsearch_info   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 2
Bugs 0 Features 1
Metric Value
eloc 10
c 2
b 0
f 1
dl 0
loc 13
ccs 0
cts 11
cp 0
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A module() 0 11 1
1
<?php
2
/**
3
*
4
* @package acp
5
* @version $Id: acp_my_page.php,v 1.10 2006/12/31 16:56:14 acydburn Exp $
6
* @copyright (c) 2006 phpBB Group 
7
* @license http://opensource.org/licenses/gpl-license.php GNU Public License 
8
*
9
*/
10
11
namespace anavaro\pmsearch\acp;
12
13
/**
14
* @package module_install
15
*/
16
class acp_pmsearch_info
17
{
18
	function module()
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
19
	{
20
		return array(
21
			'filename'	=> 'anavaro\pmsearch\acp\acp_pmsearch_module',
22
			'title'		=> 'ACP_PMSEARCH', // define in the lang/xx/acp/common.php language file
23
			'version'	=> '1.0.0',
24
			'modes'		=> array(
25
				'main'		=> array(
26
					'title'		=> 'ACP_PRVOPT',
27
					'auth' 		=> 'ext_anavaro/pmsearch && acl_a_user',
28
					'cat'		=> array('ACP_PMSEARCH_GRP')
29
				),
30
			),
31
		);
32
	}
33
}
34