links the ort_kurzbz from the Stundenplan in the Dashboard to the Ort Information Content

This commit is contained in:
SimonGschnell
2024-06-24 14:23:34 +02:00
parent 77cd3bb02d
commit d92ad0a6c6
7 changed files with 119 additions and 3 deletions
@@ -20,4 +20,16 @@ class Ort_model extends DB_Model
return $this->OrtModel->loadWhere(array("raumtyp_kurzbz" => $raumtyp_kurzbz));
}
public function getContentID($ort_kurzbz)
{
return $this->execReadOnlyQuery("
SELECT content_id
FROM public.tbl_ort
WHERE ort_kurzbz = ?;
",[$ort_kurzbz]);
}
}