/** * Change view for current action controller * * @param string $view */ public function set_view($view) { if ($this->auto_render) { $this->view->set_filename($this->get_view($view)); } }