Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 1398 Rev 1491
Line 113... Line 113...
113
		}
113
		}
Line 114... Line 114...
114
		
114
		
115
		return $tableau_observations;
115
		return $tableau_observations;
Line -... Line 116...
-
 
116
	}
-
 
117
	
-
 
118
	public function obtenirCourrielUtilisateurPourIdObs($id_obs) {
-
 
119
		$requete = 'SELECT courriel_utilisateur FROM cel_obs WHERE '.
-
 
120
			         'id_observation = '.$this->proteger($id_obs);  
-
 
121
	
-
 
122
		$utilisateur_courriel = $this->executerRequete($requete);
-
 
123
	
-
 
124
		$retour = false;
-
 
125
		if(!empty($utilisateur_courriel) && isset($utilisateur_courriel[0]['courriel_utilisateur'])) {
-
 
126
			$retour = $utilisateur_courriel[0]['courriel_utilisateur'];
-
 
127
		}
-
 
128
	
-
 
129
		return $retour;
116
	}
130
	}
Line 117... Line 131...
117
	
131
	
118
	private function getIdsMotsClesObservation($id_observation) {
132
	private function getIdsMotsClesObservation($id_observation) {
119
		
133