Subversion Repositories eFlore/Applications.del

Rev

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

Rev 1845 Rev 1855
Line 23... Line 23...
23
	private $conteneur;
23
	private $conteneur;
24
	private $bdd;
24
	private $bdd;
25
	private $navigation;
25
	private $navigation;
26
	private $filtrage;
26
	private $filtrage;
27
	private $sql;
27
	private $sql;
28
	private $parametres = array();
-
 
29
	private $ressources = array();
-
 
30
	private $mappings = array();
28
	private $mappings = array();
31
	private $paramsFiltres = array();
29
	private $paramsFiltres = array();
Line 32... Line 30...
32
 
30
 
Line 43... Line 41...
43
		$this->mappings['votes'] = $this->conteneur->getParametreTableau('votes.mapping');
41
		$this->mappings['votes'] = $this->conteneur->getParametreTableau('votes.mapping');
44
		$this->mappings['commentaires'] = $this->conteneur->getParametreTableau('commentaires.mapping');
42
		$this->mappings['commentaires'] = $this->conteneur->getParametreTableau('commentaires.mapping');
45
	}
43
	}
Line 46... Line 44...
46
 
44
 
47
	public function consulter($ressources, $parametres) {
-
 
48
		$this->ressources = $ressources;
-
 
49
		$this->parametres = $parametres;
-
 
50
 
45
	public function consulter($ressources, $parametres) {
51
		$this->paramsFiltres = $this->filtrage->filtrerUrlParamsAppliObs();
46
		$this->paramsFiltres = $this->filtrage->filtrerUrlParamsAppliObs();
52
		$this->sql->setParametres($this->paramsFiltres);
47
		$this->sql->setParametres($this->paramsFiltres);
53
		$this->sql->ajouterContraintes();
48
		$this->sql->ajouterContraintes();
54
		$this->sql->ajouterConstrainteAppliObs();
49
		$this->sql->ajouterConstrainteAppliObs();