From bbb5ebcbac50ed4d559445e50da8100466991b15 Mon Sep 17 00:00:00 2001 From: Samuel Wolff Date: Thu, 18 Jan 2024 10:02:29 +0100 Subject: [PATCH] faxxen --- Controller/BenutzerController.php | 4 ++-- Controller/TagesplanController.php | 6 ++++++ Model/TagesplanModel.php | 7 +++++++ 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/Controller/BenutzerController.php b/Controller/BenutzerController.php index e04b7f0..e68ab7a 100644 --- a/Controller/BenutzerController.php +++ b/Controller/BenutzerController.php @@ -44,9 +44,9 @@ class BenutzerController return json_encode($result); } - public function anmeldeVersuch($data) + public function anmeldeVersuch() { - $result = $this->db->anmeldeVersuch($data); + $result = $this->db->anmeldeVersuch(); return json_encode($result); } diff --git a/Controller/TagesplanController.php b/Controller/TagesplanController.php index aed591d..a109ac0 100644 --- a/Controller/TagesplanController.php +++ b/Controller/TagesplanController.php @@ -33,5 +33,11 @@ class TagesplanController $result = $this->db->deleteTagesplan($id); return json_encode($result); } + + public function getGerichteOnTag() + { + $result = $this->db->getGerichteOnTag(); + return json_encode($result); + } } ?> \ No newline at end of file diff --git a/Model/TagesplanModel.php b/Model/TagesplanModel.php index 797c47d..d760184 100644 --- a/Model/TagesplanModel.php +++ b/Model/TagesplanModel.php @@ -64,6 +64,13 @@ class TagesplanModel extends Database } catch (\PDOException $e) { return false; } + } + + public function getGerichteOnTag() + { + + + } } ?> \ No newline at end of file