| 123456789101112131415161718192021222324 | <?phpnamespace backend\widgets\meta;use yii\widgets\InputWidget;class MetaForm extends InputWidget{    public function init()    {        parent::init();        if ($this->hasModel()) {            $this->value = $this->model->getMetaModel();        }    }    public function run()    {        return $this->render('meta_form', [            'model' => $this->value        ]);    }}
 |