executerRequete($sql, array($idCollege)); return $college->fetch(PDO::FETCH_ASSOC); } public function getCollegesPolice($idPolice) { $sql = 'call sp_get_colleges_police(?);'; $college = $this->executerRequete($sql, array($idPolice)); return $college->fetchAll(PDO::FETCH_ASSOC); } public function getTotaldcollege($idPolice) { $sql = 'call sp_totalcollege(?)'; $totalcollege = $this->executerRequete($sql, array($idPolice)); return $totalcollege->fetch(PDO::FETCH_ASSOC); } }