title = Yii::t('app', 'termin'); $this->params['breadcrumbs'][] = $this->title; ?>

title) ?>

render('_search', ['model' => $searchModel]); ?>

'btn btn-success']) ?>

$dataProvider, 'filterModel' => $searchModel, 'columns' => [ ['class' => 'yii\grid\SerialColumn'], [ 'attribute' => 'termin_title', //'value' => 'terminLangs.termin_title' ], [ 'attribute' => 'termin_parent_title', 'value' => 'terminStructures.parent.terminLangs.termin_title', 'content' => function($model, $key, $index, $column) { if($model->terminStructures[0]->parent instanceof Termin) { return $model->terminStructures[0]->parent->terminLangs[0]->termin_title; } else { return NULL; } } ], 'termin_name', 'is_book', ['class' => 'yii\grid\ActionColumn'], ], ]); ?>