public function actionUpdate($id) { $this->modelScenario = 'update'; return parent::actionUpdate($id); }
public function init() { $this->modelClass = Page::className(); $this->searchClass = PageSearch::className(); parent::init(); }