executerRequete($sql, array($codePrestataire, $codeExercice, $codeMois)); return $resultat->fetchAll(PDO::FETCH_ASSOC); } public function getdemandedecompte($idDemandeDecompte) { $sql = 'call sp_p_get_demandedecompte(?)'; $resultat = $this->executerRequete($sql, array($idDemandeDecompte)); $ligne = $resultat->fetch(PDO::FETCH_ASSOC); $_SESSION['numeroDemandeDecompte_C'] = $ligne['numeroDemandeDecompte']; return $ligne; } public function getdetaildemandedecompteid($idDemandeDecompte) { $sql = 'call sp_p_get_detail_demandedecompte_id(?)'; $resultat = $this->executerRequete($sql, array($idDemandeDecompte)); return $resultat->fetchAll(PDO::FETCH_ASSOC); } public function getdetaildemandedecompte($numeroDemandeDecompte) { $sql = 'call sp_p_get_detail_demandedecompte(?)'; $resultat = $this->executerRequete($sql, array($numeroDemandeDecompte)); return $resultat->fetchAll(PDO::FETCH_ASSOC); } }