public static function terminateEmployment($id, $year, $terminationDate) { $hsp = Hsp::getHsp($id); self::redirect(null, './CentralController.php?id=003&capturemode=updatemode&reqcode=EMP&hspid=' . $id . '&enddate=' . $terminationDate . '&id=' . $hsp->getEmployeeId() . '&year=' . $year); }