title = $road->name;
$this->params[ 'breadcrumbs' ][] = [
'label' => 'Дороги',
'url' => [ 'index' ],
];
$this->params[ 'breadcrumbs' ][] = [
'label' => $this->title,
'url' => [
'view',
'id' => $road->road_id,
],
];
$this->params[ 'breadcrumbs' ][] = 'Відомість інтенсивності руху та склад транспортного потоку - ' . ucfirst($region->name). ' область';
?>
Міністрество транспорту України
Державна служба автомобільних доріг
України
Служба автомобільних доріг у name; ?> області
Відомість
інтенсивності руху та склад транспортного потоку
на автомобільній дорозі
name; ?>
roadType->definition;?> значення станом на р.
$dataProvider,
'layout' => "{items}",
'columns' => [
[
'attribute' => 'location',
'value' => function($model) {
/**
* @var FlowIntensity $model
*/
return $model->getLocationString();
}
],
[
'attribute' => 'begin',
'value' => function($model) {
/**
* @var FlowIntensity $model
*/
return $model->getBeginString();
}
],
[
'attribute' => 'end',
'value' => function($model) {
/**
* @var FlowIntensity $model
*/
return $model->getEndString();
}
],
[
'attribute' => 'road_direction_id',
'value' => function($model) {
/**
* @var FlowIntensity $model
*/
return $model->roadDirection->direction_name;
}
],
[
'attribute' => 'settlement_id',
'value' => function($model) {
/**
* @var FlowIntensity $model
*/
return $model->settlement->sign;
}
],
'intensity_total',
'intensity_increase',
'intensity_moto',
'intensity_moto_sidecar',
'intensity_car',
'intensity_truck_two',
'intensity_truck_two_six',
'intensity_truck_six_eight',
'intensity_truck_eight_fourteen',
'intensity_truck_fourteen',
'intensity_lorry_twelve',
'intensity_lorry_twelve_twenty',
'intensity_lorry_twenty_thirty',
'intensity_lorry_thirty',
'intensity_tractor_under_ten',
'intensity_tractor_over_ten',
'intensity_bus',
'intensity_bus_coupled',
[
'attribute' => 'date_add',
'value' => function($model) {
/**
* @var FlowIntensity $model
*/
return date('d.m.Y', $model->date_add);
}
],
],
]);
?>