Chore: Verschiebe Git-Repository in das Hauptverzeichnis und richte .gitignore ein

This commit is contained in:
salam committed 2026-10-19 10:11:04 +02:00
commit 96d0545193
502 files changed
+176027

No files matched your search

@@ -0,0 +1,29 @@
<?php
namespace HermannTelser\Gutachten\DB\Update;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use HermannTelser\Gutachten\DB\DbFunction;
class UpdateRow
{
/**
* @param mixed $id
*
* @return bool
*/
public static function update()
{
$table = GeneralUtility::_GP('table');
$rowdata = GeneralUtility::_GP('rowdata');
$data = json_decode($rowdata, true);
$id = GeneralUtility::_GP('id');
$update_array = [];
foreach ($data as $key => $subdata) {
foreach ($subdata as $field => $value) {
$update_array[$field] = $value;
}
}
DbFunction::secureUpdate($table, $update_array, "id = $id");
}
}