| Total Complexity | 6 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class StatsColumn extends DataColumn |
||
| 14 | { |
||
| 15 | public $format = 'html'; |
||
| 16 | public $numberFormat = 'integer'; |
||
| 17 | public $statsAttribute; |
||
| 18 | public $headerOptions = ['class' => 'sort-numerical']; |
||
| 19 | |||
| 20 | public function init() |
||
| 25 | } |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param \app\modules\admin\models\Account|\app\modules\admin\models\Tag $model |
||
| 30 | * @param mixed $key |
||
| 31 | * @param int $index |
||
| 32 | * @return null|string |
||
| 33 | */ |
||
| 34 | public function getDataCellValue($model, $key, $index) |
||
| 53 | } |