Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 744 Rev 762
Line 26... Line 26...
26
	}
26
	}
Line 27... Line 27...
27
 
27
 
28
	public function obtenirDonnees() {
28
	public function obtenirDonnees() {
29
		$donnees = array();
29
		$donnees = array();
-
 
30
		$num_nom = $this->nomCourant->getNns();
30
		$num_nom = $this->nomCourant->getNns();
31
		if(Config::get('cache')) {
31
		$cache = array(
32
			$cache = array(
32
			'illustration' => $this->obtenirCache('infos_bloc_'.$num_nom),
33
				'illustration' => $this->obtenirCache('infos_bloc_'.$num_nom),
33
			'repartition' => $this->obtenirCache('repartition_bloc_'.$num_nom),
34
				'repartition' => $this->obtenirCache('repartition_bloc_'.$num_nom),
34
			'nomenclature' => $this->obtenirCache('nomenclature_bloc_'.$num_nom),
35
				'nomenclature' => $this->obtenirCache('nomenclature_bloc_'.$num_nom),
35
			'description' => $this->obtenirCache('description_bloc_'.$num_nom),
36
				'description' => $this->obtenirCache('description_bloc_'.$num_nom),
36
			'ethnobotanique' => $this->obtenirCache('ethnobotanique_bloc_'.$num_nom),
37
				'ethnobotanique' => $this->obtenirCache('ethnobotanique_bloc_'.$num_nom),
37
			'classification' => $this->obtenirCache('classification_bloc_'.$num_nom),
38
				'classification' => $this->obtenirCache('classification_bloc_'.$num_nom),
38
			'bibliographie' => $this->obtenirCache('bibliographie_bloc_'.$num_nom),
39
				'bibliographie' => $this->obtenirCache('bibliographie_bloc_'.$num_nom),
39
			'statut' => $this->obtenirCache('statut_bloc_'.$num_nom),
40
				'statut' => $this->obtenirCache('statut_bloc_'.$num_nom),
40
			'ecologie' => $this->obtenirCache('ecologie_bloc_'.$num_nom)
41
				'ecologie' => $this->obtenirCache('ecologie_bloc_'.$num_nom)
-
 
42
			);
Line 41... Line -...
41
		);
-
 
42
		
43
		}
43
		//echo '<pre>'.print_r($cache,true).'</pre>';exit;
44
		
Line 44... Line 45...
44
		$nt = $this->conteneur->getNomCourant()->getNomRetenu()->get('num_taxonomique');
45
		$nt = $this->conteneur->getNomCourant()->getNomRetenu()->get('num_taxonomique');
45
		$donnees['infos'] = array('referentiel' => $this->conteneur->getParametre('referentiel'), 'num_tax' => $nt);
46
		$donnees['infos'] = array('referentiel' => $this->conteneur->getParametre('referentiel'), 'num_tax' => $nt);