protected function onPreRender(&$view) { $view->action = $this->getAction(); $view->method = $this->getMethod(); parent::onPreRender($view); }