/** * Outputs the command view without a layout. */ private function output_partial() { if ($this->doRedirect()) { return Router::route($this->contoller->redirect); } return TemplateEngine::renderPartial("{$this->model}/{$this->command}", array('result' => $this->result, 'errors' => $this->controller->errors)); }