/** * Displays a particular model. * @param integer $id the ID of the model to be displayed */ public function actionExportPDF($id) { AnswerPDFRenderer::renderAnswer($this->loadModel($id)); }