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