function alterAccountAction() { $userId = $this->get('userId'); $schoolId = $this->get('schoolId'); $accountModel = new AccountModel(); $result = $accountModel->alterAccount($userId, $schoolId); $this->redirect('manageAccount'); }