Subversion Repositories Applications.annuaire

Rev

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

Rev 5 Rev 79
Line 57... Line 57...
57
		$requete = 	'SELECT * '.
57
		$requete = 	'SELECT * '.
58
					'FROM  annu_meta_ontologie '.
58
					'FROM  annu_meta_ontologie '.
59
					'WHERE amo_id_ontologie = '.$identifiant;
59
					'WHERE amo_id_ontologie = '.$identifiant;
60
		$resultat = $this->requeteTous($requete);
60
		$resultat = $this->requeteTous($requete);
61
		$ontologie = array();
61
		$ontologie = array();
-
 
62
 
-
 
63
		if(!$resultat) {
-
 
64
		} else {
62
		foreach ($resultat as $ligne) {
65
			foreach ($resultat as $ligne) {
63
			$ontologie = $ligne;
66
				$ontologie = $ligne;
-
 
67
			}
64
		}
68
		}
65
		return $ontologie;
69
		return $ontologie;
66
	}
70
	}
Line 67... Line 71...
67
 
71