a
This commit is contained in:
@@ -1219,4 +1219,16 @@ class Adherent extends Modele {
|
||||
|
||||
return $resultat->fetchAll(PDO::FETCH_ASSOC);
|
||||
}
|
||||
|
||||
public function getIdPoliceAdherent($idAdherent)
|
||||
{
|
||||
$sql = 'SELECT idPolice from adherent where id=? limit 1;';
|
||||
|
||||
$resultat = $this->executerRequete($sql, array($idAdherent));
|
||||
|
||||
$ligne = $resultat->fetch(PDO::FETCH_ASSOC);
|
||||
|
||||
return $ligne['idPolice'];
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user