mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
28 lines
465 B
PHP
28 lines
465 B
PHP
<?php
|
|
|
|
class Orgform_model extends DB_Model
|
|
{
|
|
/**
|
|
* Constructor
|
|
*/
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
$this->dbTable = 'bis.tbl_orgform';
|
|
$this->pk = 'orgform_kurzbz';
|
|
}
|
|
|
|
/**
|
|
* Returns all the orgform except VBB and ZGS
|
|
*/
|
|
public function getOrgformLV()
|
|
{
|
|
$query = "SELECT *
|
|
FROM bis.tbl_orgform
|
|
WHERE orgform_kurzbz NOT IN ('VBB', 'ZGS')
|
|
ORDER BY orgform_kurzbz";
|
|
|
|
return $this->execQuery($query);
|
|
}
|
|
}
|