17,7 → 17,6 |
|
private $conteneur; |
private $navigation; |
private $masque; |
private $bdd; |
private $parametres = array(); |
private $ressources = array(); |
29,7 → 28,6 |
$this->conteneur->chargerConfiguration('config_observations.ini'); |
$this->conteneur->chargerConfiguration('config_departements_bruts.ini'); |
$this->navigation = $conteneur->getNavigation(); |
$this->masque = $conteneur->getMasque(); |
$this->bdd = $this->conteneur->getBdd(); |
} |
|
149,7 → 147,7 |
* */ |
private function chargerClauseWhere() { |
$where = array(); |
$tableauMasque = $this->masque->getMasque(); |
$tableauMasque = $this->navigation->getFiltre(); |
if (!empty($tableauMasque)) { |
foreach($tableauMasque as $idMasque => $valeurMasque) { |
|
157,7 → 155,7 |
switch ($idMasque) { |
// nom du masque => nom BDD |
case 'auteur' : |
$whereAuteur = ' '.$this->creerFiltreAuteur($this->masque->getMasque('auteur')); |
$whereAuteur = ' '.$this->creerFiltreAuteur($this->navigation->getFiltre('auteur')); |
if($whereAuteur != '') { |
$where[] = $whereAuteur; |
} |