add admin timetable

This commit is contained in:
2019-10-23 08:49:40 +02:00
committed by Roland Schneider
parent 1300bfc752
commit bf85c737d5
32 changed files with 1037 additions and 120 deletions

View File

@@ -0,0 +1,32 @@
<?php
namespace common\modules\event\models\timetable;
use customerapi\models\available\EventInterval;
use yii\data\ArrayDataProvider;
/** @noinspection PhpUnused */
/**
* Class TimeTableMonth
* @property EventInterval $interval
* @property TimeTableMonthDay[] $days
* @property TimeTableMonthWeek[] $weeks
*/
class TimeTableMonth
{
public $interval;
public $days = array();
public $weekDayNames = array();
public $weeks;
public function getWeeksArrayDataProvider()
{
return new ArrayDataProvider([
'allModels' => $this->weeks
]);
}
}