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.

DataTable   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 31
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A init() 0 6 1
A initFilters() 0 4 1
1
<?php
2
/**
3
 * ZfTable ( Module for Zend Framework 2)
4
 *
5
 * @copyright Copyright (c) 2013 Piotr Duda [email protected]
6
 * @license   MIT License
7
 */
8
9
namespace ZfTable\Example\TableExample;
10
11
use ZfTable\AbstractTable;
12
13
class DataTable extends AbstractTable
14
{
15
16
    protected $config = array(
17
        'name' => 'Data table integration',
18
    );
19
20
    /**
21
     * @var array Definition of headers
22
     */
23
    protected $headers = array(
24
        'idcustomer' => array('title' => 'Id', 'width' => '50') ,
25
        'name' => array('title' => 'Name' ),
26
        'surname' => array('title' => 'Surname' ),
27
        'street' => array('title' => 'Street'),
28
        'city' => array('title' => 'City' ),
29
        'active' => array('title' => 'Active' , 'width' => 100 ),
30
    );
31
32
    public function init()
33
    {
34
        //Table attributes
35
        $this->addAttr('id', 'zfDataTableExample');
36
        $this->addClass('display');
37
    }
38
39
    protected function initFilters($query)
40
    {
41
42
    }
43
}
44