Initial import
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace app\widgets;
|
||||
|
||||
use yii\base\Widget;
|
||||
|
||||
class FormWidget extends Widget
|
||||
{
|
||||
public $top = null;
|
||||
public $tabs = [];
|
||||
public $writeView = null;
|
||||
public $postService = null;
|
||||
public $validation = null;
|
||||
public $model = null;
|
||||
|
||||
public function run()
|
||||
{
|
||||
if (isset($_GET['o']))
|
||||
return $this->render('form', [
|
||||
'top' => $this->top,
|
||||
'tabs' => $this->tabs,
|
||||
'writeView' => $this->writeView,
|
||||
'postService' => $this->postService,
|
||||
'validation' => $this->validation,
|
||||
'model' => $this->model
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user