add admin timetable
This commit is contained in:
30
common/modules/event/widgets/day/TimeTableMonthDayView.php
Normal file
30
common/modules/event/widgets/day/TimeTableMonthDayView.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
namespace common\modules\event\widgets\day;
|
||||
use common\modules\event\models\timetable\TimeTableMonthDay;
|
||||
use yii\base\Widget;
|
||||
|
||||
|
||||
/** @noinspection PhpUnused */
|
||||
|
||||
/**
|
||||
* Class TimeTableMonthDayView
|
||||
* @package common\modules\event\widgets
|
||||
*
|
||||
* @property TimeTableMonthDay $day
|
||||
*/
|
||||
class TimeTableMonthDayView extends \yii\bootstrap\Widget
|
||||
{
|
||||
public $day;
|
||||
|
||||
public function init(){
|
||||
parent::init();
|
||||
}
|
||||
|
||||
|
||||
public function run(){
|
||||
return $this->render('_day', [ 'day' => $this->day]);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user