Subversion Repositories Applications.annuaire

Rev

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

Rev 7 Rev 11
Line 34... Line 34...
34
		$this->chargerModele('AnnuaireModele');
34
		$this->chargerModele('AnnuaireModele');
35
		$this->chargerModele('MetadonneeModele');
35
		$this->chargerModele('MetadonneeModele');
36
		$data['erreurs'] = array();
36
		$data['erreurs'] = array();
37
		$data['annuaire'] = $this->AnnuaireModele->chargerAnnuaire($id,true);
37
		$data['annuaire'] = $this->AnnuaireModele->chargerAnnuaire($id,true);
38
		$data['metadonnees'] = $this->MetadonneeModele->chargerListeMetadonneeAnnuaire($id);
38
		$data['metadonnees'] = $this->MetadonneeModele->chargerListeMetadonneeAnnuaire($id);
39
		$annuaire = $this->getVue(config::get('chemin_squelettes_annuaires').'annuaire', $data);
39
		$annuaire = $this->getVue(Config::get('dossier_squelettes_annuaires').'annuaire', $data);
Line 40... Line 40...
40
 
40
 
41
		return $annuaire;
41
		return $annuaire;
Line 42... Line 42...
42
	}
42
	}
Line 63... Line 63...
63
		$data['valeur'] = $valeurs;
63
		$data['valeur'] = $valeurs;
Line 64... Line 64...
64
 
64
 
65
		$this->chargerModele('MetadonneeModele');
65
		$this->chargerModele('MetadonneeModele');
66
		$data['types'] = $this->MetadonneeModele->chargerListeDesTypesDeChamps();
66
		$data['types'] = $this->MetadonneeModele->chargerListeDesTypesDeChamps();
67
		$data['listes'] = $this->MetadonneeModele->chargerListeDesListes();
67
		$data['listes'] = $this->MetadonneeModele->chargerListeDesListes();
Line 68... Line 68...
68
		$metadonnee_ajout = $this->getVue(config::get('chemin_squelettes_metadonnees').'metadonnee_ajout',$data);
68
		$metadonnee_ajout = $this->getVue(Config::get('dossier_squelettes_metadonnees').'metadonnee_ajout',$data);
69
 
69
 
Line 70... Line 70...
70
		return $metadonnee_ajout;
70
		return $metadonnee_ajout;
Line 92... Line 92...
92
 
92
 
93
		$this->chargerModele('MetadonneeModele');
93
		$this->chargerModele('MetadonneeModele');
94
		$data['valeur'] = $this->MetadonneeModele->chargerInformationsMetadonnee($valeurs['amc_id_champ']);
94
		$data['valeur'] = $this->MetadonneeModele->chargerInformationsMetadonnee($valeurs['amc_id_champ']);
95
		$data['types'] = $this->MetadonneeModele->chargerListeDesTypesDeChamps();
95
		$data['types'] = $this->MetadonneeModele->chargerListeDesTypesDeChamps();
96
		$data['listes'] = $this->MetadonneeModele->chargerListeDesListes();
96
		$data['listes'] = $this->MetadonneeModele->chargerListeDesListes();
Line 97... Line 97...
97
		$metadonnee_modification = $this->getVue(config::get('chemin_squelettes_metadonnees').'metadonnee_modification',$data);
97
		$metadonnee_modification = $this->getVue(Config::get('dossier_squelettes_metadonnees').'metadonnee_modification',$data);
98
 
98
 
Line 99... Line 99...
99
		return $metadonnee_modification;
99
		return $metadonnee_modification;