executerRequete($sql, array($_SESSION['codeProfil'])); return $liste->fetchAll(PDO::FETCH_ASSOC); } public function getListeAdherent() { $sql = 'SELECT A.codeTypTache as `code`, B.libelle FROM typtachesanteprofil_c_adherent A JOIN typtachesante B ON (B.codeTypTache=A.codeTypTache) WHERE (A.codeProfil=?) ORDER BY B.libelle'; $liste = $this->executerRequete($sql, array($_SESSION['codeProfil'])); return $liste->fetchAll(PDO::FETCH_ASSOC); } public function getListeNouveau() { $sql = 'SELECT A.codeTypTache as `code`, B.libelle FROM typtachesanteprofil_n A JOIN typtachesante B ON (B.codeTypTache=A.codeTypTache) WHERE (A.codeProfil=?) ORDER BY B.libelle'; $liste = $this->executerRequete($sql, array($_SESSION['codeProfil'])); return $liste->fetchAll(PDO::FETCH_ASSOC); } public function getListeNouveauAdherent() { $sql = 'SELECT A.codeTypTache as `code`, B.libelle FROM typtachesanteprofil_n_adherent A JOIN typtachesante B ON (B.codeTypTache=A.codeTypTache) WHERE (A.codeProfil=?) ORDER BY B.libelle'; $liste = $this->executerRequete($sql, array($_SESSION['codeProfil'])); return $liste->fetchAll(PDO::FETCH_ASSOC); } }