Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 990 Rev 1092
Line 58... Line 58...
58
	private function getCoste() {
58
	private function getCoste() {
59
		$coste = array();
59
		$coste = array();
60
		$this->textes->setProjet('coste');
60
		$this->textes->setProjet('coste');
61
		$this->textes->setId('bdtfx.nn:'.$this->nomCourant->getNnr());
61
		$this->textes->setId('bdtfx.nn:'.$this->nomCourant->getNnr());
62
		$texte = $this->textes->getTexte();
62
		$texte = $this->textes->getTexte();
-
 
63
		$texte = array_pop($texte['resultats']);
63
		if ($texte) {
64
		if ($texte) {
64
			$coste['titre'] = $texte['titre'];
65
			$coste['titre'] = $texte['titre'];
-
 
66
			// TODO: réintroduire les modif' effectuées sur modules/fiche/formateurs/Description.php
-
 
67
			// -les joies du code copié/collé-
65
			$coste['description'] = $this->mettreEnFormeCoste($texte['texte']);
68
			$coste['description'] = $this->mettreEnFormeCoste($texte['texte']);
66
		}
69
		}
Line 67... Line 70...
67
		
70
		
68
		$this->donnees['coste'] = $coste;
71
		$this->donnees['coste'] = $coste;