Passed
Push — master ( 7ba57e...634515 )
by Paweł
03:13
created

GridView   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 9
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A renderPager() 0 5 1
1
<?php
2
/**
3
 * Created for IG Monitoring.
4
 * User: jakim <[email protected]>
5
 * Date: 2019-02-25
6
 */
7
8
namespace app\modules\admin\components\grid;
9
10
11
class GridView extends \yii\grid\GridView
12
{
13
    public $layout = "{items}\n{pager}";
14
15
    public function renderPager()
16
    {
17
        return sprintf('<div class=""><div class="col-lg-5 ">%s</div><div class="col-lg-7 pull-right text-right">%s</div></div>',
18
            $this->renderSummary(),
19
            parent::renderPager()
20
        );
21
    }
22
}