18 lines
229 B
PHP
18 lines
229 B
PHP
|
<?php
|
||
|
|
||
|
|
||
|
namespace backend\widgets;
|
||
|
|
||
|
|
||
|
use yii\base\Widget;
|
||
|
|
||
|
class DateRangeWidget extends Widget
|
||
|
{
|
||
|
public $model;
|
||
|
|
||
|
public function run()
|
||
|
{
|
||
|
return $this->render('date_range', ['model' => $this->model]);
|
||
|
}
|
||
|
|
||
|
}
|