db->getEnthaelt($gerichtId); return json_encode($result); } public function insertEnthaelt($data){ $result=$this->db->insertEnthaelt($data); return json_encode($result); } public function deleteEnthaelt($id){ $result=$this->db->deleteEnthaelt($id); return json_encode($result); } } ?>