Chore: Verschiebe Git-Repository in das Hauptverzeichnis und richte .gitignore ein
This commit is contained in:
commit
96d0545193
502 files changed
+176027
No files matched your search
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace HermannTelser\Gutachten\DB\Update;
|
||||
|
||||
use HermannTelser\Gutachten\DB\DbFunction;
|
||||
use TYPO3\CMS\Core\Utility\GeneralUtility;
|
||||
|
||||
class UpdateAufstellungMany
|
||||
{
|
||||
public static function update()
|
||||
{
|
||||
// DbFunction::$debug = 1;
|
||||
|
||||
$aufstellung_id = GeneralUtility::_GP('aufstellung_id');
|
||||
if (!is_numeric($aufstellung_id)) {
|
||||
return [];
|
||||
}
|
||||
|
||||
$rowdata = GeneralUtility::_GP('data');
|
||||
$data = json_decode($rowdata, true);
|
||||
|
||||
foreach ($data as $key => $rowid) {
|
||||
$update_array = [];
|
||||
$update_array['aufstellung_id'] = $aufstellung_id;
|
||||
DbFunction::secureUpdate('tx_gutachten_raume_generell', $update_array, ['id' => $rowid]);
|
||||
}
|
||||
DbFunction::$projektid = DbFunction::get("tx_gutachten_raume_generell", "pid", ['id' => $rowid]);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user