Initial import
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace app\widgets;
|
||||
|
||||
|
||||
use yii\base\Widget;
|
||||
|
||||
class Includes extends Widget
|
||||
{
|
||||
public $type;
|
||||
public $model;
|
||||
public $bottom_care;
|
||||
public $title = '';
|
||||
|
||||
public function run()
|
||||
{
|
||||
return $this->render('includes/' . $this->type, [
|
||||
'model' => $this->model,
|
||||
'bottom_care' => $this->bottom_care,
|
||||
'title' => $this->title
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user