Ejemplo n.º 1
0
 public function clearHousingWaiver($bannerId, $term)
 {
     $params = array('User' => $this->currentUser, 'BannerID' => $bannerId, 'TermCode' => $term);
     try {
         $response = $this->client->ClearHousingWaiver($params);
     } catch (SoapFault $e) {
         throw new SOAPException($e->getMessage(), $e->getCode(), 'clearHousingWaiver', $params);
     }
     if ($response->ClearHousingWaiverResult != "0") {
         throw new BannerException('Error while clearing waiver flag in Banner.', $response->ClearHousingWaiverResult, 'clearHousingWaiver', $params);
     }
     SOAP::logSoap('clearHousingWaiver', 'success', $params);
     return true;
 }