Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 249 Rev 253
Line 61... Line 61...
61
	
61
	
62
	private function obtenirDonnees($donnees = array()) {
62
	private function obtenirDonnees($donnees = array()) {
63
		if ($this->onglet == 'illustrations') {
63
		if ($this->onglet == 'illustrations') {
64
			$ill = new Illustrations();
64
			$ill = new Illustrations();
-
 
65
			$donnees['img'] = $ill->obtenirDonnees($this->num_nom);
-
 
66
		} else if ($this->onglet == 'repartition') {
-
 
67
			$repartition = new Repartition($this->num_nom);
-
 
68
			$donnees['img'] = $repartition->getUrlImage();
65
			$donnees['img'] = $ill->obtenirDonnees($this->num_nom);
69
			$donnees['legende'] = $repartition->getLegende();
66
		}
70
		}
67
		return $donnees;
71
		return $donnees;
Line 68... Line 72...
68
	}
72
	}