Files
gutachten_t3/packages/gutachten/Classes/DB/Update/UpdateAufstellung.php
T

22 lines
436 B
PHP

<?php
namespace HermannTelser\Gutachten\DB\Update;
use HermannTelser\Gutachten\DB\DbFunction;
use TYPO3\CMS\Core\Utility\GeneralUtility;
class UpdateAufstellung
{
/**
* @param mixed $id
*
* @return bool
*/
public static function update()
{
$value = (string) GeneralUtility::_GP('value');
$id = GeneralUtility::_GP('id');
DbFunction::secureUpdate('tx_gutachten_aufstellung', ['titel' => $value], ['id' => $id]);
}
}