Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 528 Rev 529
Line 18... Line 18...
18
	private $imagesApi = null;
18
	private $imagesApi = null;
19
	private $utilisateur = null;
19
	private $utilisateur = null;
20
	private $appUrls = null;
20
	private $appUrls = null;
21
	private $id_destinataire = '';
21
	private $id_destinataire = '';
22
	private $id_image = '';
22
	private $id_image = '';
-
 
23
	private $urlWsAnnuaireUtilisateurTpl = '';
Line 23... Line 24...
23
 
24
 
24
	public function initialiser() {
25
	public function initialiser() {
25
		$this->capturerParametres();
26
		$this->capturerParametres();
26
		$this->conteneur = new Conteneur();
27
		$this->conteneur = new Conteneur();
27
		$this->imagesApi = $this->conteneur->getApiImages();
28
		$this->imagesApi = $this->conteneur->getApiImages();
28
		$this->utilisateur = $this->conteneur->getUtilisateur();
29
		$this->utilisateur = $this->conteneur->getUtilisateur();
-
 
30
		$this->appUrls = $this->conteneur->getAppUrls();
29
		$this->appUrls = $this->conteneur->getAppUrls();
31
		$this->urlWsAnnuaireUtilisateurTpl = $this->conteneur->getParametre('baseUrlServicesAnnuaireTpl');
Line 30... Line 32...
30
	}
32
	}
31
 
33
 
32
	private function capturerParametres() {
34
	private function capturerParametres() {
Line 50... Line 52...
50
		}
52
		}
51
	}
53
	}
Line 52... Line 54...
52
 
54
 
53
	private function afficherFormContact() {
55
	private function afficherFormContact() {
54
		$entete = array();
56
		$entete = array();
-
 
57
		$entete['formType'] = 'contact';
55
		$entete['formType'] = 'contact';
58
		$entete['urlWsUtilisateur'] = sprintf($this->urlWsAnnuaireUtilisateurTpl, 'utilisateur');
Line 56... Line 59...
56
		$this->setSortie(self::ENTETE, $this->getVue('contact_entete', $entete));
59
		$this->setSortie(self::ENTETE, $this->getVue('contact_entete', $entete));
57
 
60
 
58
		$infos = array();
61
		$infos = array();
Line 74... Line 77...
74
		$this->setSortie(self::RENDU_CORPS, $this->getVue('form_contact', $infos));
77
		$this->setSortie(self::RENDU_CORPS, $this->getVue('form_contact', $infos));
75
	}
78
	}
Line 76... Line 79...
76
 
79
 
77
	private function afficherFormIdentification() {
80
	private function afficherFormIdentification() {
78
		$entete = array();
81
		$entete = array();
-
 
82
		$entete['formType'] = 'identification';
79
		$entete['formType'] = 'identification';
83
		$entete['urlWsUtilisateur'] = sprintf($this->urlWsAnnuaireUtilisateurTpl, 'utilisateur');
Line 80... Line 84...
80
		$this->setSortie(self::ENTETE, $this->getVue('contact_entete', $entete));
84
		$this->setSortie(self::ENTETE, $this->getVue('contact_entete', $entete));
81
 
85
 
82
		$infos = array();
86
		$infos = array();