Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
18 | function module() |
||
|
|||
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 | ), |
||
34 |
Adding explicit visibility (
private
,protected
, orpublic
) is generally recommend to communicate to other developers how, and from where this method is intended to be used.