configurationManager->getCode('discipline_ege_form'); $disciplineEgeForm = ArrayHelper::getValue(StoredDisciplineFormReferenceType::findByUID($disciplineEgeFormUid), 'id', ''); CompetitiveGroupEntranceTestsAsset::register($this); $radioIndexList = []; ?> true, 'headerContainer' => ['class' => 'thead-light'], 'tableOptions' => ['class' => 'table-sm'], 'striped' => false, 'summary' => false, 'pager' => [ 'firstPageLabel' => '<<', 'prevPageLabel' => '<', 'nextPageLabel' => '>', 'lastPageLabel' => '>>', ], 'options' => ['class' => 'table-responsive'], 'dataProvider' => $competitiveGroupEntranceTest, 'columns' => [ [ 'attribute' => 'subject', 'label' => DirectionTrainingRenderer::getLabel(), 'headerOptions' => ['class' => 'col-3'], 'value' => function ($model) { return DirectionTrainingRenderer::renderStaticValue($model); }, 'contentOptions' => function ($model) { return DirectionTrainingRenderer::renderOptions($model); }, ], [ 'attribute' => 'priority', 'label' => PriorityRenderer::getLabel(), 'format' => 'raw', 'value' => function ($model) { return PriorityRenderer::renderStaticValue($model); }, 'contentOptions' => function ($model) { return PriorityRenderer::renderOptions($model); } ], [ 'attribute' => 'discipline', 'label' => DisciplineRenderer::getLabel(), 'format' => 'raw', 'value' => function ($model, $combinationOfSpecialtyIdAndSubjectRefId) { return DisciplineRenderer::renderStaticValue($model, $combinationOfSpecialtyIdAndSubjectRefId); }, 'contentOptions' => function ($model) { return DisciplineRenderer::renderOptions($model); } ], [ 'attribute' => 'exam_form', 'label' => ExamFormRenderer::getLabel(), 'format' => 'raw', 'value' => function ($model, $combinationOfSpecialtyIdAndSubjectRefId) { return ExamFormRenderer::renderStaticValue($model, $combinationOfSpecialtyIdAndSubjectRefId); }, 'contentOptions' => function ($model) { return ExamFormRenderer::renderOptions($model); } ], [ 'attribute' => 'min_score', 'label' => MinScoreRenderer::getLabel(), 'value' => function ($model, $combinationOfSpecialtyIdAndSubjectRefId) use ($chosenExams, $chosenDisciplines, $disciplineEgeForm) { return MinScoreRenderer::renderStaticValue( $model, $combinationOfSpecialtyIdAndSubjectRefId, $chosenExams, $chosenDisciplines, $disciplineEgeForm ); }, 'contentOptions' => function ($model, $combinationOfSpecialtyIdAndSubjectRefId) { return MinScoreRenderer::renderOptions($model, $combinationOfSpecialtyIdAndSubjectRefId); } ], ] ]);