Ajout paramètres sur fonction getAnnonces

This commit is contained in:
Michael RICOIS 2011-05-02 09:05:25 +00:00
parent 64cda33cf4
commit fb41e7f7a0

View File

@ -66,10 +66,12 @@ class WsScores
}
}
public function getAnnonces($siren, $filtre=0, $idAnn=0, $position=0, $nbRep=100)
public function getAnnonces($siren, $filtre=0, $idAnn='', $position=0, $nbRep=100)
{
$params = new stdClass();
$params->siren = $siren;
$params->filtre = $filtre;
$params->idAnn = $idAnn;
$client = $this->loadClient('entreprise');
try {
$reponse = $client->getAnnonces($params);