acp_pmsearch_info::module()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 11
Code Lines 9

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 9
c 1
b 0
f 1
nc 1
nop 0
dl 0
loc 11
ccs 0
cts 11
cp 0
crap 2
rs 9.9666
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