Completed
Push — master ( a7b61e...4a7303 )
by Khoa
03:38
created

bbook_books_info   A

Coupling/Cohesion

Components 0
Dependencies 0

Complexity

Total Complexity 1

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 22
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A module() 0 14 1
1
<?php
2
/**
3
* This file is part of the VinaBB.vn package.
4
*
5
* @copyright (c) VinaBB <vinabb.vn>
6
* @license GNU General Public License, version 2 (GPL-2.0)
7
*/
8
9
namespace vinabb\web\acp;
10
11
/**
12
* ACP module info: acp_bbook_books
13
*/
14
class bbook_books_info
15
{
16
	/**
17
	* Get module info
18
	*
19
	* @return array
20
	*/
21
	public function module()
22
	{
23
		return [
24
			'filename'	=> '\vinabb\web\acp\bbook_books_module',
25
			'title'		=> 'ACP_BBOOK_BOOKS',
26
			'modes'		=> [
27
				'main'	=> [
28
					'title'	=> 'ACP_BBOOK_BOOKS',
29
					'auth'	=> 'ext_vinabb/web && acl_a_board',
30
					'cat'	=> ['ACP_CAT_BBOOK']
31
				]
32
			]
33
		];
34
	}
35
}
36