executerRequete($sql); return $liste->fetchAll(PDO::FETCH_ASSOC); } public function getListeConsultation() { if (est_anglophone()) { $sql = 'SELECT codeLienParente as `code`, libelleEng as libelle FROM lienparente order by ordre, libelle'; } else { $sql = 'SELECT codeLienParente as `code`, libelle FROM lienparente order by ordre, libelle'; } $liste = $this->executerRequete($sql); return $liste->fetchAll(PDO::FETCH_ASSOC); } public function getListeSubstitut() { if (est_anglophone()) { $sql = 'SELECT codeLienParente as `code`, libelleEng as libelle FROM liensubstitut order by ordre, libelle'; } else { $sql = 'SELECT codeLienParente as `code`, libelle FROM liensubstitut order by ordre, libelle'; } $liste = $this->executerRequete($sql); return $liste->fetchAll(PDO::FETCH_ASSOC); } public function getListeDependant() { if (est_anglophone()) { $sql = 'SELECT codeLienParente AS `code`, libelleEng as libelle FROM lienparente WHERE codeLienParente!="A" ORDER BY ordre, libelle'; } else { $sql = 'SELECT codeLienParente AS `code`, libelle FROM lienparente WHERE codeLienParente!="A" ORDER BY ordre, libelle'; } $liste = $this->executerRequete($sql); return $liste->fetchAll(PDO::FETCH_ASSOC); } public function getListeAdherent() { if (est_anglophone()) { $sql = 'SELECT codeLienParente AS `code`, libelleEng as libelle FROM lienparente WHERE codeLienParente="A" ORDER BY ordre, libelle'; } else { $sql = 'SELECT codeLienParente AS `code`, libelle FROM lienparente WHERE codeLienParente="A" ORDER BY ordre, libelle'; } $liste = $this->executerRequete($sql); return $liste->fetchAll(PDO::FETCH_ASSOC); } }