GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

SeoModule   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 44
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 44
rs 10
c 0
b 0
f 0
ccs 0
cts 26
cp 0
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getMenuControllers() 0 35 1
1
<?php
2
/**
3
 * @author Alexandr Kolobkov <[email protected]>, Sergey Glagolev <[email protected]>
4
 * @link https://github.com/shogodev/argilla/
5
 * @copyright Copyright &copy; 2003-2014 Shogo
6
 * @license http://argilla.ru/LICENSE
7
 * @package backend.modules.seo
8
 */
9
class SeoModule extends BModule
10
{
11
  public $defaultController = 'BSitemap';
12
13
  public $group = 'seo';
14
15
  public $name = 'Seo';
16
17
  public function getMenuControllers()
18
  {
19
    return array(
20
      'BMeta' => array(
21
        'label' => 'Мета теги',
22
        'menu' => array('BMetaRoute', 'BMetaMask'),
23
        'itemOptions' => array('class' => 'seopanel')
24
      ),
25
      'BCounters' => array(
26
        'label' => 'Счетчики',
27
        'menu' => array('BCounters'),
28
        'itemOptions' => array('class' => 'counters')
29
      ),
30
      'BLinkBlock' => array(
31
        'label' => 'Ссылочный блок',
32
        'menu' => array('BLinkBlock'),
33
        'itemOptions' => array('class' => 'linksblock')
34
      ),
35
      'BLink' => array(
36
        'label' => 'Каталог ссылок',
37
        'menu' => array('BLink', 'BLinkSection'),
38
        'itemOptions' => array('class' => 'links')
39
      ),
40
      'BRedirects' => array(
41
        'label' => 'Редиректы',
42
        'menu' => array('BRedirect'),
43
        'itemOptions' => array('class' => 'redirect')
44
      ),
45
      'BSitemap' => array(
46
        'label' => 'SitemapXML',
47
        'menu' => array('BSitemap', 'BSitemapExclusion'),
48
        'itemOptions' => array('class' => 'sitemap')
49
      ),
50
    );
51
  }
52
}
53