Conditions | 1 |
Paths | 1 |
Total Lines | 27 |
Code Lines | 23 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | protected function fillRepresentations() |
||
19 | { |
||
20 | $this->representations = array_filter([ |
||
21 | 'common' => [ |
||
22 | 'label' => Yii::t('hipanel', 'common'), |
||
23 | 'columns' => [ |
||
24 | 'checkbox', |
||
25 | 'actions', |
||
26 | 'switch', |
||
27 | 'inn', |
||
28 | 'model', |
||
29 | 'type', |
||
30 | 'ip', |
||
31 | 'mac', |
||
32 | 'order_no', |
||
33 | ], |
||
34 | ], |
||
35 | 'sale' => [ |
||
36 | 'label' => Yii::t('hipanel:server:hub', 'sale'), |
||
37 | 'columns' => [ |
||
38 | 'checkbox', |
||
39 | 'actions', |
||
40 | 'switch', |
||
41 | 'buyer', |
||
42 | 'tariff', |
||
43 | 'model', |
||
44 | 'type', |
||
45 | ], |
||
50 |