| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | function module() |
||
|
|
|||
| 15 | { |
||
| 16 | return array( |
||
| 17 | 'filename' => '\paul999\ajaxshoutbox\acp\acp_module', |
||
| 18 | 'title' => 'ACP_AJAX_SHOUTBOX', |
||
| 19 | 'modes' => array( |
||
| 20 | 'settings' => array( |
||
| 21 | 'title' => 'ACP_AJAX_SHOUTBOX_SETTINGS', |
||
| 22 | 'auth' => 'ext_paul999/ajaxshoutbox && acl_a_board', |
||
| 23 | 'cat' => array('ACP_AJAX_SHOUTBOX') |
||
| 24 | ), |
||
| 25 | ), |
||
| 26 | ); |
||
| 27 | } |
||
| 28 | } |
||
| 29 |
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.