getParameter('operation') == "preview") return 'Preview'; else if ($rd->getParameter('operation') == "send") return 'Success'; } public function getDefaultViewName() { return 'Error'; } } ?>