23 lines
586 B
PHP
23 lines
586 B
PHP
<?php
|
|
//Programmiert von: Max Heer, Getestet von:
|
|
|
|
namespace VPR_Schnittstelle\Controller;
|
|
|
|
use VPR_Schnittstelle\Libary\Msg;
|
|
use VPR_Schnittstelle\Model\TagesplanModel;
|
|
|
|
public function getTagesplan(){
|
|
$result=$this->db->getTagesplan();
|
|
return json_encode($result);
|
|
}
|
|
|
|
public function insertTagesplan($data){
|
|
$result=$this->db->insertTagesplan($data);
|
|
return json_encode($result);
|
|
}
|
|
|
|
public function deleteTagesplan($id){
|
|
$result=$this->db->deleteTagesplan($id);
|
|
return json_encode($result);
|
|
}
|
|
?>
|