Subversion Repositories eFlore/Applications.del

Rev

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

Rev 1273 Rev 1793
Line 17... Line 17...
17
class ListeProtocoles extends RestService {
17
class ListeProtocoles extends RestService {
Line 18... Line 18...
18
 
18
 
19
	private $conteneur;
19
	private $conteneur;
20
	private $navigation;
20
	private $navigation;
21
	private $masque;
-
 
22
	private $gestionBdd;
21
	private $masque;
23
	protected $bdd;
22
	protected $bdd;
24
	private $parametres = array();
23
	private $parametres = array();
Line 25... Line 24...
25
	private $ressources = array();
24
	private $ressources = array();
26
 
25
 
27
	public function __construct(Conteneur $conteneur = null) {
26
	public function __construct(Conteneur $conteneur = null) {
28
		$this->conteneur = $conteneur == null ? new Conteneur() : $conteneur;
27
		$this->conteneur = $conteneur == null ? new Conteneur() : $conteneur;
29
		$this->conteneur->chargerConfiguration('config_mapping_votes.ini');
28
		$this->conteneur->chargerConfiguration('config_mapping_votes.ini');
30
		$this->navigation = $conteneur->getNavigation();
-
 
31
		$this->masque = $conteneur->getMasque();
29
		$this->navigation = $conteneur->getNavigation();
32
		$this->gestionBdd = $conteneur->getGestionBdd();
30
		$this->masque = $conteneur->getMasque();
Line 33... Line 31...
33
		$this->bdd = $this->gestionBdd->getBdd();
31
		$this->bdd = $this->conteneur->getBdd();
34
	}
32
	}
35
 
33