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

36 lines
1023 B
PHP

<?php
namespace HermannTelser\Gutachten\DB\Select;
use HermannTelser\Gutachten\DB\DbFunction;
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>, NUH-Odds GmbH
*
***/
class Notizen
{
public static function notizen_projekt_laden()
{
$id = GeneralUtility::_GP('id');
$note = DbFunction::get('tx_gutachten_projekte', 'beschreibung', ['id' => $id]);
echo $note;
exit;
// $_projekte = Select::projekte($id);
// echo '<div style="border: 1px solid #cccccc;">
// <div data-dojo-type="dijit/Editor" value="'.$_projekte[0]['beschreibung'].'" name="notizen" id="notizen" data-dojo-props="onChange:function(){update_projekt_notizen(arguments[0])}"></div>
// </div>';
// exit;
}
}