| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | function module() |
||
|
|
|||
| 15 | { |
||
| 16 | return array( |
||
| 17 | 'filename' => '\tas2580\socialbuttons\socialbuttons_module', |
||
| 18 | 'title' => 'ACP_SOCIALBUTTONS_TITLE', |
||
| 19 | 'version' => '1.0.0-RC3', |
||
| 20 | 'modes' => array( |
||
| 21 | 'settings' => array( |
||
| 22 | 'title' => 'ACP_SOCIALBUTTONS_TITLE', |
||
| 23 | 'auth' => 'ext_tas2580/socialbuttons && acl_a_board', |
||
| 24 | 'cat' => array('ACP_SOCIALBUTTONS_TITLE') |
||
| 25 | ), |
||
| 26 | ), |
||
| 27 | ); |
||
| 28 | } |
||
| 29 | } |
||
| 30 |
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.