Test
This commit is contained in:
21
Controller/istTeilController.php
Normal file
21
Controller/istTeilController.php
Normal 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);
|
||||
}
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user