Files
gutachten_t3/packages/gutachten/Classes/DB/Select/MethodenInfo.php
T

44 lines
830 B
PHP

<?php
namespace HermannTelser\Gutachten\DB\Select;
use HermannTelser\Gutachten\DB\DbFunction;
/***
*
* This file is part of the "NuhOdds Comparatore" Extension for TYPO3 CMS.
*
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* (c) 2019 Hermann Telser <hermann.telser@gmail.com>, NUH-Odds GmbH
*
***/
class MethodenInfo
{
// active projekte für user
public static function load()
{
// DbFunction::$debug = 1;
$arr = DbFunction::select(
'tx_gutachten_raumart',
[
'id',
'raumart',
'erklaerung',
],
[
// 'isactive' => 1,
'ORDER' => ['order' => 'ASC']
]
);
foreach ($arr as $key => $value) {
$arr[$key]['id'] = (int) $value['id'];
}
return $arr;
}
}