diff --git a/project/src/model/gateways/InviteGateway.php b/project/src/model/gateways/InviteGateway.php index d0ddc0c..af67014 100755 --- a/project/src/model/gateways/InviteGateway.php +++ b/project/src/model/gateways/InviteGateway.php @@ -61,4 +61,8 @@ class InviteGateway extends JoueurGateway return $id; } } + + public function supprimerInvite(int $id) : bool { + + } } \ No newline at end of file diff --git a/project/src/model/gateways/ScientifiqueGateway.php b/project/src/model/gateways/ScientifiqueGateway.php index 7b54e1d..c2cd33a 100755 --- a/project/src/model/gateways/ScientifiqueGateway.php +++ b/project/src/model/gateways/ScientifiqueGateway.php @@ -12,6 +12,10 @@ class ScientifiqueGateway $this->con = $con; } + public function getFromId(int $id) : array { + + } + // public function getRandom(): array|bool{ <- autorisé seulement en PHP 8 // $this->con->executeQuery( // "SELECT id, nom, prenom, photo, dateNaissance, descriptif, ratiotrouvee, idthematique, iddifficulte, index FROM Scientifique ORDER BY RANDOM() LIMIT 1;"); @@ -29,6 +33,10 @@ class ScientifiqueGateway return $this->con->getOneResult(); } + public function getRandomFromDifficulte(Difficulte $difficulte) : array { + + } + /** * @throws Exception */ diff --git a/project/src/model/gateways/SexeGateway.php b/project/src/model/gateways/SexeGateway.php index 6902a5f..0310dab 100755 --- a/project/src/model/gateways/SexeGateway.php +++ b/project/src/model/gateways/SexeGateway.php @@ -22,4 +22,8 @@ class SexeGateway $this->con->executeQuery("SELECT id, libelle FROM Sexe;"); return $this->con->getResults(); } + + public function getFromScientifique(int $idScientifique) : array { + + } } \ No newline at end of file diff --git a/project/src/model/gateways/ThematiqueGateway.php b/project/src/model/gateways/ThematiqueGateway.php index 5220c69..861983f 100755 --- a/project/src/model/gateways/ThematiqueGateway.php +++ b/project/src/model/gateways/ThematiqueGateway.php @@ -21,4 +21,8 @@ class ThematiqueGateway $this->con->executeQuery("SELECT id, libelle FROM Thematique;"); return $this->con->getResults(); } + + public function getFromScientifique(int $idScientifique) : array { + + } } \ No newline at end of file