Conditions | 1 |
Paths | 1 |
Total Lines | 25 |
Code Lines | 18 |
Lines | 0 |
Ratio | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
14 | function module() |
||
|
|||
15 | { |
||
16 | return array( |
||
17 | 'filename' => '\tas2580\paypal\paypal_module', |
||
18 | 'title' => 'ACP_PAYPAL_TITLE', |
||
19 | 'version' => '0.1.0', |
||
20 | 'modes' => array( |
||
21 | 'settings' => array( |
||
22 | 'title' => 'ACP_PAYPAL_SETTINGS', |
||
23 | 'auth' => 'ext_tas2580/paypal && acl_a_board', |
||
24 | 'cat' => array('ACP_PAYPAL_TITLE') |
||
25 | ), |
||
26 | 'items' => array( |
||
27 | 'title' => 'ACP_PAYPAL_ITEMS', |
||
28 | 'auth' => 'ext_tas2580/paypal && acl_a_board', |
||
29 | 'cat' => array('ACP_PAYPAL_TITLE') |
||
30 | ), |
||
31 | 'donations' => array( |
||
32 | 'title' => 'ACP_PAYPAL_DONATIONS', |
||
33 | 'auth' => 'ext_tas2580/paypal && acl_a_board', |
||
34 | 'cat' => array('ACP_PAYPAL_TITLE') |
||
35 | ), |
||
36 | ), |
||
37 | ); |
||
38 | } |
||
39 | } |
||
40 |
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.