Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 1103 | Rev 1115 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1103 Rev 1108
Line 44... Line 44...
44
	
44
 
45
	public function getPhotos() {
45
	public function getPhotos() {
46
		$url_picto = $this->obtenirUrlPicto();
46
		$url_picto = $this->obtenirUrlPicto();
Line 47... Line 47...
47
		$obj =  json_decode(file_get_contents($url_picto), true);
47
		$obj = json_decode(file_get_contents($url_picto), true);
48
		
48
 
49
		$arr = $obj['resultats'];
49
		$listePhotos = $obj['resultats'];
50
		//echo '<pre>'.print_r($obj, true).'</pre>';
50
		//echo '<pre>'.print_r($obj, true).'</pre>';
51
		foreach($arr as $index) {
51
		foreach($listePhotos as $index) {
52
			$this->formaterListePhotos($index);
52
			$this->formaterListePhotos($index);