public function signupAction() { $this->_helper->layout()->setLayout('layout-lgs'); $r = $this->getRequest(); if ($r->isPost()) { $bpm = new Kutu_Core_Bpm_User(); try { $row = $bpm->signup($r->getParams()); $this->_helper->viewRenderer->setScriptAction('signup-success'); } catch (Exception $e) { print_r($e->getMessage()); $this->_helper->viewRenderer->setScriptAction('signup-error'); } } }