Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
27 | public function getDataCellValue($model, $key, $index) |
||
28 | { |
||
29 | $prc = mt_rand(1, 84); |
||
30 | |||
31 | return Progress::widget([ |
||
32 | 'percent' => $prc, |
||
33 | 'label' => $prc . '%', |
||
34 | 'barOptions' => ['class' => 'progress-bar-success'], |
||
35 | 'options' => ['style' => 'background-color: grey;'], |
||
36 | ]); |
||
37 | } |
||
38 | } |
||
39 |