mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-02 20:59:28 +00:00
939ca288fc
in the models or libraries - DmsLib bug fix - Person_model bug fix
23 lines
422 B
PHP
23 lines
422 B
PHP
<?php
|
|
|
|
class Ort_model extends DB_Model
|
|
{
|
|
/**
|
|
* Constructor
|
|
*/
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
$this->dbTable = "public.tbl_ort";
|
|
$this->pk = "ort_kurzbz";
|
|
}
|
|
|
|
public function getAll($raumtyp_kurzbz)
|
|
{
|
|
$this->addOrder("ort_kurzbz");
|
|
|
|
$this->addJoin("public.tbl_ortraumtyp", "ort_kurzbz");
|
|
|
|
return $this->OrtModel->loadWhere(array("raumtyp_kurzbz" => $raumtyp_kurzbz));
|
|
}
|
|
} |