Subversion Repositories Applications.annuaire

Rev

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

Rev 98 Rev 109
Line 73... Line 73...
73
	public function obtenirChampsMappageAnnuaire($id_annuaire) {
73
	public function obtenirChampsMappageAnnuaire($id_annuaire) {
Line 74... Line 74...
74
 
74
 
Line 75... Line 75...
75
		$tableau_mappage = array();
75
		$tableau_mappage = array();
76
 
76
 
Line 77... Line 77...
77
		$requete_champs_mappage = 'SELECT * FROM annu_triples WHERE at_ce_annuaire = '.$this->proteger($id_annuaire).' '.
77
		$requete_champs_mappage = 'SELECT * FROM annu_triples WHERE at_ce_annuaire = '.$this->proteger($id_annuaire).' '.
Line 78... Line 78...
78
		"AND at_action IN ('champ_id', 'champ_mail', 'champ_nom', 'champ_prenom', 'champ_pass', 'champ_lettre','champ_pays', 'champ_code_postal', 'champ_ville')";
78
		"AND at_action IN ('champ_id', 'champ_mail', 'champ_nom', 'champ_prenom', 'champ_pass', 'champ_lettre','champ_pays', 'champ_code_postal', 'champ_ville', 'champ_date_inscription')";
Line 88... Line 88...
88
		foreach ($resultat_champs_mappage as  $champ) {
88
		foreach ($resultat_champs_mappage as  $champ) {
89
			$tableau_mappage[0][$champ['at_action']] = $champ['at_ressource'];
89
			$tableau_mappage[0][$champ['at_action']] = $champ['at_ressource'];
90
			$tableau_mappage[1][$champ['at_action']] = $champ['at_valeur'];
90
			$tableau_mappage[1][$champ['at_action']] = $champ['at_valeur'];
91
		}
91
		}
Line 92... Line -...
92
 
-
 
93
		//echo Debug::printr($tableau_mappage);
-
 
94
 
92
 
Line 95... Line 93...
95
		// TODO faire une interface de gestion des champs de mappage
93
		// TODO faire une interface de gestion des champs de mappage
96
 
94