fix warnings

This commit is contained in:
2019-10-23 09:05:09 +02:00
committed by Roland Schneider
parent bf85c737d5
commit 9c0e2a56ee
8 changed files with 23 additions and 49 deletions

View File

@@ -1,4 +1,6 @@
<?php use common\modules\event\models\timetable\TimeTableSearch;
<?php /** @noinspection PhpUnhandledExceptionInspection */
use common\modules\event\models\timetable\TimeTableSearch;
/* @var $this yii\web\View */
/* @var $tableHeaders string */
@@ -14,17 +16,12 @@ use common\modules\event\models\timetable\TimeTableModel;
use common\modules\event\widgets\timetable\TimeTableMonthView;
?>
<style>
</style>
<h1>Órarend</h1>
<?php echo $this->render('_timetable_search', ['model' => $model]); ?>
<h2>
<?= $timeTable->interval->firstActiveDate->format("Y") ?>
<?= $timeTable->interval->firstActiveDate->format('Y') ?>
-
<?= $timeTable->interval->firstActiveDate->format("m") ?>
<?= $timeTable->interval->firstActiveDate->format('m') ?>
</h2>
<?= TimeTableMonthView::widget(['timeTable' => $timeTable]) ?>