/** * IS: Parameter email, key terdeklarasi * FS: Mengirimkan ke viewer: activateSuccess * Desc: Fungsi untuk melakukan aktivasi account */ public function activateAction() { // Param $email = $this->_getParam('email'); $key = $this->_getParam('key'); // Model $userDb = new Model_DbTable_User(); // Data $userId = $userDb->activateAccount($email, $key); $this->view->activateSuccess = true; $this->render('activate'); //$this->_redirector->goToSimple('index', 'index'); }