guild/backend/widgets/DateRangeWidget.php

20 lines
284 B
PHP
Raw Normal View History

2019-06-25 12:37:09 +03:00
<?php
namespace backend\widgets;
2019-06-25 18:28:20 +03:00
use common\classes\Debug;
2019-06-25 12:37:09 +03:00
use yii\base\Widget;
class DateRangeWidget extends Widget
{
public $model;
2019-06-25 18:28:20 +03:00
public $range_attribute;
2019-06-25 12:37:09 +03:00
public function run()
{
return $this->render('date_range', ['model' => $this->model]);
}
}