Subversion Repositories eFlore/Applications.cel

Rev

Rev 959 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 959 Rev 961
Line 94... Line 94...
94
		return $nb_obs;
94
		return $nb_obs;
95
	}
95
	}
Line 96... Line 96...
96
	
96
	
97
	public function formaterPourEnvoiCel($tableau_observations) {
97
	public function formaterPourEnvoiCel($tableau_observations) {
98
		foreach($tableau_observations as &$observation) {
98
		foreach($tableau_observations as &$observation) {
99
			$observation['ce_zone_geo'] = $this->convertirCodeZoneGeoVersDepartement($observation['ce_zone_geo']);
99
			$observation['ce_zone_geo'] = $this->convertirCodeZoneGeoVersCodeInsee($observation['ce_zone_geo']);
100
			$ids_mots_cles = $this->getIdsMotsClesObservation($observation['id_observation']);
100
			$ids_mots_cles = $this->getIdsMotsClesObservation($observation['id_observation']);
101
			$mots_cles_chaine = '';
101
			$mots_cles_chaine = '';
102
			foreach($ids_mots_cles as $id_mot_cle) {
102
			foreach($ids_mots_cles as $id_mot_cle) {
103
				$mots_cles_chaine .= $id_mot_cle['id_mot_cle_utilisateur'].';';
103
				$mots_cles_chaine .= $id_mot_cle['id_mot_cle_utilisateur'].';';