Files
FHC-Core/application/models/system/Vorlage_model.php
T
SimonGschnell a21a292da6 dokument upload
2024-01-29 16:48:41 +01:00

25 lines
398 B
PHP
Executable File

<?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);
}
}