27 lines
544 B
PHP
27 lines
544 B
PHP
<?php
|
|
|
|
namespace HermannTelser\Gutachten\DB\Update;
|
|
|
|
use HermannTelser\Gutachten\DB\Select;
|
|
use HermannTelser\Gutachten\DB\DbFunction;
|
|
use TYPO3\CMS\Core\Utility\GeneralUtility;
|
|
|
|
class UpdateProjektPlatzhalter
|
|
{
|
|
/**
|
|
* @param mixed $rowid
|
|
*
|
|
* @return bool
|
|
*/
|
|
public static function update()
|
|
{
|
|
$value = GeneralUtility::_GP('value');
|
|
$rowid = GeneralUtility::_GP('rowid');
|
|
|
|
$update_array = [];
|
|
$update_array['txt'] = $value;
|
|
|
|
DbFunction::secureUpdate("tx_gutachten_projekteplatzhalter", $update_array, ['id' => $rowid]);
|
|
}
|
|
}
|