Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 269 Rev 276
Line 58... Line 58...
58
		echo $this->getVue('fiche_'.$this->onglet, $donnees);
58
		echo $this->getVue('fiche_'.$this->onglet, $donnees);
59
		exit;
59
		exit;
60
	}
60
	}
Line 61... Line 61...
61
	
61
	
62
	private function obtenirDonnees($donnees = array()) {
62
	private function obtenirDonnees($donnees = array()) {
-
 
63
		if ($this->onglet == 'synthese') {
-
 
64
			$serviceRepartition = new Repartition($this->num_nom, 'nn', "190x178");
-
 
65
			$donnees['repartition_vignette'] = $serviceRepartition->getUrlPng();
63
		if ($this->onglet != 'synthese') {
66
		} else {
64
			$classe = ucfirst($this->onglet);
67
			$classe = ucfirst($this->onglet);
65
			$metier = new $classe();
68
			$metier = new $classe();
66
			$donnees = $metier->obtenirDonnees($this->num_nom);
69
			$donnees = $metier->obtenirDonnees($this->num_nom);
67
		}
70
		}