Completed
Push — develop ( a3ab64...524863 )
by Daniel
13:34
created

settings_info   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 16
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A module() 0 10 1
1
<?php
2
/**
3
 *
4
 * @package sitemaker
5
 * @copyright (c) 2016 Daniel A. (blitze)
6
 * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
7
 *
8
 */
9
10
namespace blitze\sitemaker\acp;
11
12
class settings_info
13
{
14
	/**
15
	 * @return array
16
	 */
17
	public function module()
18
	{
19
		return array(
20
			'filename'	=> '\blitze\sitemaker\acp\settings_module',
21
			'title'		=> 'ACP_SITEMAKER',
22
			'modes'		=> array(
23
				'settings'		=> array('title' => 'ACP_SM_SETTINGS', 'auth' => 'ext_blitze/sitemaker && acl_a_sm_settings', 'cat' => array('ACP_SITEMAKER')),
24
			),
25
		);
26
	}
27
}
28