Subversion Repositories eFlore/Applications.del

Rev

Rev 1612 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1612 Rev 1793
Line 17... Line 17...
17
class ListeMotsCles {
17
class ListeMotsCles {
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
	private $bdd;
22
	private $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_mots_cles.ini');
28
		$this->conteneur->chargerConfiguration('config_mots_cles.ini');
30
		$this->conteneur->chargerConfiguration('config_mapping_mots_cles.ini');
29
		$this->conteneur->chargerConfiguration('config_mapping_mots_cles.ini');
31
		$this->navigation = $conteneur->getNavigation();
-
 
32
		$this->masque = $conteneur->getMasque();
30
		$this->navigation = $conteneur->getNavigation();
33
		$this->gestionBdd = $conteneur->getGestionBdd();
31
		$this->masque = $conteneur->getMasque();
Line 34... Line 32...
34
		$this->bdd = $this->gestionBdd->getBdd();
32
		$this->bdd = $this->conteneur->getBdd();
35
	}
33
	}
36
 
34