Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 611 Rev 625
Line 137... Line 137...
137
		$this->textes->setProjet('coste');
137
		$this->textes->setProjet('coste');
138
		$this->textes->setId('bdtfx.nn:'.$this->nomCourant->getNnr());
138
		$this->textes->setId('bdtfx.nn:'.$this->nomCourant->getNnr());
139
		$texte = $this->textes->getTexte();
139
		$texte = $this->textes->getTexte();
140
		if ($texte) {
140
		if ($texte) {
141
			$coste['titre'] = $texte['titre'];
141
			$coste['titre'] = $texte['titre'];
142
			$texte = $this->MettreEnFormeCoste($texte['texte']);
142
			$coste['description'] = $this->mettreEnFormeCoste($texte['texte']);
143
			$coste['description'] = $texte ;
-
 
144
		}
143
		}
145
		$this->meta->setProjet('coste');
144
		$this->meta->setProjet('coste');
146
		$meta = $this->meta->getMetaDonnees();
145
		$meta = $this->meta->getMetaDonnees();
147
		$citation = $meta[0]['citation'];
146
		$citation = $meta[0]['citation'];
148
		$coste['meta']['citation'] = $citation;
147
		$coste['meta']['citation'] = $citation;
149
		$coste['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('coste');
148
		$coste['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('coste');
150
		return $coste;
149
		return $coste;
151
	}
150
	}
Line 152... Line 151...
152
	
151
 
153
	public function MettreEnFormeCoste($texte){
152
	public function mettreEnFormeCoste($texte){
154
		$this->CosteFormate = array();
153
		$this->CosteFormate = array();
155
		$this->CosteTexte = $texte;
154
		$this->CosteTexte = $texte;
156
		//decouper elements remarquables avant le texte
155
		//decouper elements remarquables avant le texte
157
		$this->separerNomScientifique_a_NomCommun();
156
		$this->separerNomScientifique_a_NomCommun();