22 lines
351 B
PHP
22 lines
351 B
PHP
|
<?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);
|
||
|
}
|
||
|
}
|
||
|
?>
|