Issue #0001634: getScoreCutoff()
This commit is contained in:
parent
fcfbc3e1f8
commit
cb9d084aec
@ -272,7 +272,7 @@ class WsScores
|
||||
}
|
||||
|
||||
/**
|
||||
* Score Cut Off
|
||||
* Set Score Cut Off
|
||||
* @param string $siren
|
||||
* @param int $encours
|
||||
* @param int $scoreSolv
|
||||
@ -302,6 +302,25 @@ class WsScores
|
||||
return $fault->faultstring;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Score Cut Off
|
||||
* @param string $siren
|
||||
* @return Cutoff values or False
|
||||
*/
|
||||
public function getScoreCutoff($siren)
|
||||
{
|
||||
$params = new stdClass();
|
||||
$params->siren = $siren;
|
||||
$client = $this->loadClient('saisie');
|
||||
try {
|
||||
$reponse = $client->getScoreCutoff($params);
|
||||
return $reponse->getScoreCutoffResult;
|
||||
} catch (SoapFault $fault) {
|
||||
Zend_Registry::get('firebug')->info($fault->faultcode.':'.$fault->faultstring);
|
||||
return $fault->faultstring;
|
||||
}
|
||||
}
|
||||
|
||||
public function searchLogin($idClient, $query)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user