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,38 @@
|
||||
<?php
|
||||
|
||||
namespace HermannTelser\Gutachten\DB\Insert;
|
||||
|
||||
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 NewProjekt
|
||||
{
|
||||
public static function create()
|
||||
{
|
||||
$internername = GeneralUtility::_GP('internername');
|
||||
$projektname = GeneralUtility::_GP('projektname');
|
||||
|
||||
if($internername!="" and $projektname != "")
|
||||
{
|
||||
$value_array = [];
|
||||
$value_array['intname'] = $internername;
|
||||
$value_array['name'] = $projektname;
|
||||
$value_array['erstelldatum'] = time();
|
||||
DbFunction::secureInsert("tx_gutachten_projekte", $value_array);
|
||||
}
|
||||
|
||||
echo 1;
|
||||
exit;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user