|
|
|
@ -94,7 +94,7 @@ class OffreModele
|
|
|
|
|
$resal = $alGw->ObtenirById($row['offreur']);
|
|
|
|
|
$profilGw = new ProfilGateway(new Connection("mysql:host=localhost;dbname=dbAlica", "Dev", "Dev"));
|
|
|
|
|
$resProfl = $profilGw->getProfilById($row['offreur']);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$alumni = new Alumni($resal[0]['mail'],$resal[0]['mdp'],$resal[0]['role'],$resProfl[0]['nom'],$resProfl[0]["prenom"]);
|
|
|
|
|
|
|
|
|
|
$date = \DateTime::createFromFormat('Y-m-d', $row['date']);
|
|
|
|
|