Subversion Repositories eFlore/Applications.del

Compare Revisions

Ignore whitespace Rev 775 → Rev 776

/trunk/services/modules/0.1/observations/ListeObservations.php
27,6 → 27,7
public function __construct(Conteneur $conteneur = null) {
$this->conteneur = $conteneur == null ? new Conteneur() : $conteneur;
$this->conteneur->chargerConfiguration('config_departements.ini');
$this->conteneur->chargerConfiguration('config_observations.ini');
$this->navigation = $conteneur->getNavigation();
$this->masque = $conteneur->getMasque();
$this->gestionBdd = $conteneur->getGestionBdd();
192,6 → 193,9
case 'nn' :
$where[] = ' '.$this->mappingFiltre['nn'].' = '.$this->proteger($valeurMasque);
break;
case 'ns' :
$where[] = " nom_sel LIKE ".$this->proteger($valeurMasque.'%');
break;
default:
$where[] = ' '.$this->mappingFiltre[$idMasque].' LIKE '.$this->proteger('%'.$valeurMasque.'%');
}