33 lines
823 B
PHP
33 lines
823 B
PHP
<?php
|
|
|
|
namespace HermannTelser\Gutachten\DB\Select;
|
|
|
|
use HermannTelser\Gutachten\DB\DbFunction;
|
|
use HermannTelser\Gutachten\Utility\Helper;
|
|
use TYPO3\CMS\Core\Utility\GeneralUtility;
|
|
|
|
/***
|
|
*
|
|
* 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>
|
|
*
|
|
***/
|
|
|
|
class ProjektAllgemeinAlle
|
|
{
|
|
public static function select()
|
|
{
|
|
// DbFunction::$debug = 1;
|
|
|
|
$projektid = GeneralUtility::_GP('id');
|
|
$arr = DbFunction::select('tx_gutachten_allgemein', '*', ['pid' => $projektid]);
|
|
$arr = Helper::make_int($arr, ['id','pid','uid']);
|
|
$arr = Helper::format_double($arr, ['qm'], 2);
|
|
return $arr;
|
|
}
|
|
}
|