Merge pull request 'Stefan's Controller und Models hinzugefügt' (#2) from stefan into main

Reviewed-on: #2
This commit was merged in pull request #2.
This commit is contained in:
PBG2H22AWO committed 2023-12-06 08:59:24 +01:00
commit 2b7811f044
2 files changed
+66

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
<?php
// Erstellt durch Stefan Groß
namespace kinderverwaltung\Controller;
class istTeilController {
private $db;
public function __construct()
{
$this-> db = new istTeilModel();
}
public function getBestellung(){
$result = $this->db->getBestellung();
return json_encode($result);
}
}
?>