44 lines
830 B
PHP
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;
|
|
}
|
|
}
|