Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 1403 | Rev 1585 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1403 Rev 1405
Line 69... Line 69...
69
		if(count($idsNoms) >= $pas) {
69
		if(count($idsNoms) >= $pas) {
70
			$images = array();
70
			$images = array();
71
			$idsPartages = array_chunk($idsNoms, $pas);
71
			$idsPartages = array_chunk($idsNoms, $pas);
72
			foreach ($idsPartages as $sousEnsembleIdsNoms) {
72
			foreach ($idsPartages as $sousEnsembleIdsNoms) {
73
				$url = $this->getUrlImagesParIdsNoms($sousEnsembleIdsNoms);
73
				$url = $this->getUrlImagesParIdsNoms($sousEnsembleIdsNoms);
74
				echo $url;exit;
-
 
75
				$donnees = $this->chargerDonnees($url);
74
				$donnees = $this->chargerDonnees($url);
76
				$resultats = (isset($donnees['resultats'])) ? $donnees['resultats'] : array();
75
				$resultats = (isset($donnees['resultats'])) ? $donnees['resultats'] : array();
77
				$images += $resultats;
76
				$images += $resultats;
78
			}
77
			}
79
		} else {
78
		} else {