Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 387 Rev 518
Line 48... Line 48...
48
 
48
 
49
	public function getApiTaxons() {
49
	public function getApiTaxons() {
50
		$taxons = new Taxons($this->getParametre('referentiel_defaut'));
50
		$taxons = new Taxons($this->getParametre('referentiel_defaut'));
51
		return $taxons;
51
		return $taxons;
52
	}
52
	}
53
	
53
 
54
	public function getApiBiblioBota() {
54
	public function getApiBiblioBota() {
55
		$biblioBota = new BiblioBota();
55
		$biblioBota = new BiblioBota();
56
		return $biblioBota;
56
		return $biblioBota;
Line 73... Line 73...
73
 
73
 
74
	public function getApiTextes() {
74
	public function getApiTextes() {
75
		$textes = new Textes();
75
		$textes = new Textes();
76
		return $textes;
76
		return $textes;
77
	}
77
	}
78
	
78
 
79
	public function getApiWikini() {
79
	public function getApiWikini() {
80
		$wiki = new Wikini();
80
		$wiki = new Wikini();
81
		return $wiki;
81
		return $wiki;
Line 96... Line 96...
96
		return $this->partages['NomCourant'];
96
		return $this->partages['NomCourant'];
97
	}
97
	}
Line 98... Line 98...
98
 
98
 
99
	public function getUtilisateur() {
99
	public function getUtilisateur() {
100
		if (!isset($this->partages['Utilisateur'])){
100
		if (!isset($this->partages['Utilisateur'])){
101
			$this->partages['Utilisateur'] = new Utilisateur($this->parametres['utilisateur.niveau.defaut']);
101
			$this->partages['Utilisateur'] = new Utilisateur($this);
102
		}
102
		}
103
		return $this->partages['Utilisateur'];
103
		return $this->partages['Utilisateur'];
Line 104... Line 104...
104
	}
104
	}
105
 
105
 
106
	public function getBdd() {
106
	public function getBdd() {
107
		if (!isset($this->partages['Bdd'])){
107
		if (!isset($this->partages['Bdd'])){
108
			$this->partages['Bdd'] = new Bdd();
108
			$this->partages['Bdd'] = new Bdd();
109
		}
109
		}
-
 
110
		return $this->partages['Bdd'];
-
 
111
	}
-
 
112
 
-
 
113
	public function getRestClient() {
-
 
114
		if (!isset($this->partages['RestClient'])){
-
 
115
			$this->partages['RestClient'] = new RestClient();
-
 
116
		}
110
		return $this->partages['Bdd'];
117
		return $this->partages['RestClient'];
111
	}
118
	}
112
}
119
}