XEditableColumn::init()   A
last analyzed

Complexity

Conditions 2
Paths 2

Size

Total Lines 8

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 6

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 8
ccs 0
cts 7
cp 0
rs 10
cc 2
nc 2
nop 0
crap 6
1
<?php
2
/**
3
 * HiPanel core package
4
 *
5
 * @link      https://hipanel.com/
6
 * @package   hipanel-core
7
 * @license   BSD-3-Clause
8
 * @copyright Copyright (c) 2014-2019, HiQDev (http://hiqdev.com/)
9
 */
10
11
namespace hipanel\grid;
12
13
use hipanel\widgets\XEditable;
14
15
/**
16
 * Class XEditableColumn.
17
 */
18
class XEditableColumn extends \hiqdev\xeditable\grid\XEditableColumn
19
{
20
    public function init()
21
    {
22
        parent::init();
23
24
        if (!isset($this->widgetOptions['class'])) {
25
            $this->widgetOptions['class'] = XEditable::class;
26
        }
27
    }
28
}
29