Subversion Repositories Applications.referentiel

Compare Revisions

Ignore whitespace Rev 66 → Rev 67

/trunk/bibliotheque/dao/ReferentielDao.php
39,13 → 39,12
$url = $this->url_jrest.self::SERVICE."/Tout/$code_projet";
$nbre = $this->getNombre($code_projet);
$noms = array();
$pas = 10000;
$pas = 5000;
for ($i = 0; $i < $nbre ; $i += $pas) {
$this->setLimitation($i, $pas);
$json = $this->envoyerRequeteConsultation($url);
$noms_partiel = json_decode($json, true);
Tableau::etendre($noms, $noms_partiel);
if ($i > $pas) break;
}
return $noms;
}