Subversion Repositories eFlore/Projets.eflore-projets

Rev

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

Rev 163 Rev 188
Line 27... Line 27...
27
	public function ajouterIntitule() {
27
	public function ajouterIntitule() {
28
		$resultat = $this->rechercherOntologieNomParCode($this->rang);
28
		$resultat = $this->rechercherOntologieNomParCode($this->rang);
29
		$this->nomDecorateur->nomFormate['rang'] = $resultat['nom'];
29
		$this->nomDecorateur->nomFormate['rang'] = $resultat['nom'];
30
	}
30
	}
Line -... Line 31...
-
 
31
 
31
 
32
	// TODO : supprimer cette recherche dans la bdd de cette classe
32
	private function rechercherOntologieNomParCode($code) {
33
	private function rechercherOntologieNomParCode($code) {
33
		$code = $this->bdd->proteger($code);
34
		$code = $this->bdd->proteger($code);
34
		$requete =	'SELECT nom '.
35
		$requete =	'SELECT nom '.
35
					'FROM bdnt_ontologies_v4_30 '.
36
					'FROM bdnt_ontologies_v4_30 '.