From 704077812e7beb6e053bc66108a14fec667ea305 Mon Sep 17 00:00:00 2001
From: Kbida Vincent <kbida1u@etu.univ-lorraine.fr>
Date: Wed, 4 Mar 2020 08:42:09 +0100
Subject: [PATCH] =?UTF-8?q?Premi=C3=A8re=20requ=C3=AAte=20(besoin=20de=20l?=
 =?UTF-8?q?a=20=20vue)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 tp1/src/controleur/ControleurRequete.php | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/tp1/src/controleur/ControleurRequete.php b/tp1/src/controleur/ControleurRequete.php
index 16d6899..d6b24d8 100644
--- a/tp1/src/controleur/ControleurRequete.php
+++ b/tp1/src/controleur/ControleurRequete.php
@@ -7,6 +7,20 @@ use bdd\models\game;
 use bdd\models\platform;
 
 class ControleurRequete{
-
+    public function selectMario(){
+        $jeu = \bdd\models\game::select('name')->where('name','Mario');
+        /*
+        TODO
+        Il faut faire l'adaptation de la requête à la vue;
+        AKA créer la vue puis la rendre en html;
+       
+        $vue = new \bdd\vues\ 
+        $html = $vue->re
+        $rs->getBody()->write($html)
+        return $rs;
+        
+         */
+        
+    }
     
 }
\ No newline at end of file
-- 
GitLab