Fertig noch nicht getestet
This commit is contained in:
20
Controller/EnthaeltController.php
Normal file
20
Controller/EnthaeltController.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
//Programmiert von: Max Heer, Getestet von:
|
||||
|
||||
namespace kindergartenverwaltung\Controller;
|
||||
|
||||
use kindergartenverwaltung\Libary\Msg;
|
||||
use kindergartenverwaltung\Model\EnthaeltModel;
|
||||
|
||||
class EnthaeltController(){
|
||||
public function getInhaltsstoffe($gerichtId){
|
||||
$result=$this->db->getEnthaelt($gerichtId);
|
||||
return json_encode($result);
|
||||
}
|
||||
|
||||
public function insertEnthaelt($data){
|
||||
$result=$this->db->insertEnthaelt($data);
|
||||
return json_encode($result);
|
||||
}
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user