芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/airport-back/vendor/yiisoft/yii2-debug/src/views/default/panels/event/detail.php
Events
= GridView::widget([ 'dataProvider' => $dataProvider, 'id' => 'log-panel-detailed-event', 'options' => ['class' => 'detail-grid-view table-responsive'], 'filterModel' => $searchModel, 'filterUrl' => $panel->getUrl(), 'pager' => [ 'linkContainerOptions' => [ 'class' => 'page-item' ], 'linkOptions' => [ 'class' => 'page-link' ], 'disabledListItemSubTagOptions' => [ 'tag' => 'a', 'href' => 'javascript:;', 'tabindex' => '-1', 'class' => 'page-link' ] ], 'columns' => [ [ 'attribute' => 'time', 'value' => function ($data) { $timeInSeconds = floor($data['time']); $millisecondsDiff = (int)(($data['time'] - (int)$timeInSeconds) * 1000); return date('H:i:s.', $timeInSeconds) . sprintf('%03d', $millisecondsDiff); }, 'headerOptions' => [ 'class' => 'sort-numerical' ] ], [ 'attribute' => 'name', /*'headerOptions' => [ 'class' => 'sort-numerical' ],*/ ], [ 'attribute' => 'class', ], [ 'header' => 'Sender', 'attribute' => 'senderClass', 'value' => function ($data) { return $data['senderClass']; }, ], [ 'header' => 'Static', 'attribute' => 'isStatic', 'format' => 'boolean', ], ], ]); ?>