1 | <?php |
||
2 | |||
3 | /** |
||
4 | * |
||
5 | * @package Anavaro.com PM Search |
||
6 | * @copyright (c) 2014 Lucifer |
||
7 | * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 |
||
8 | * |
||
9 | */ |
||
10 | |||
11 | /** |
||
12 | * @ignore |
||
13 | */ |
||
14 | |||
15 | namespace anavaro\pmsearch\ucp; |
||
16 | |||
17 | class ucp_pmsearch_info |
||
18 | { |
||
19 | function module() |
||
0 ignored issues
–
show
|
|||
20 | { |
||
21 | return array( |
||
22 | 'filename' => '\anavaro\pmsearch\ucp\ucp_pmsearch_module', |
||
23 | 'title' => 'PMSEARCH_TITLE', |
||
24 | 'version' => '1.0.0', |
||
25 | 'modes' => array( |
||
26 | 'search' => array( |
||
27 | 'title' => 'PMSEARCH_TITLE', |
||
28 | 'auth' => 'ext_anavaro/pmsearch', |
||
29 | 'cat' => array('UCP_PM') |
||
30 | ), |
||
31 | ), |
||
32 | ); |
||
33 | } |
||
34 | } |
||
35 |
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.