Files
register/marko_unpacked/marko/cms/widgets/FormWidget.php
T
Admin Nasledstvo ac168868ee Initial import
2026-05-01 20:52:04 +03:00

29 lines
653 B
PHP

<?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
]);
}
}