mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
25 lines
398 B
PHP
25 lines
398 B
PHP
<?php
|
|
|
|
class Vorlage_model extends DB_Model
|
|
{
|
|
/**
|
|
* Constructor
|
|
*/
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
$this->dbTable = 'public.tbl_vorlage';
|
|
$this->pk = 'vorlage_kurzbz';
|
|
}
|
|
|
|
/**
|
|
* Returns mume types
|
|
*/
|
|
public function getMimeTypes()
|
|
{
|
|
$query = 'SELECT DISTINCT mimetype FROM public.tbl_vorlage ORDER BY mimetype';
|
|
|
|
return $this->execQuery($query);
|
|
}
|
|
}
|