Basic implementation event signup
This commit is contained in:
		@@ -0,0 +1,15 @@
 | 
			
		||||
<?php
 | 
			
		||||
namespace Bdp\Modules\EventParticipants\Controllers;
 | 
			
		||||
 | 
			
		||||
use Bdp\Modules\EventParticipants\Models\EventGroup;
 | 
			
		||||
use Bdp\Modules\EventParticipants\Models\EventParticipant;
 | 
			
		||||
 | 
			
		||||
class UpdateMemberDetailsController {
 | 
			
		||||
	public function __construct() {
 | 
			
		||||
		global $_POST, $_REQUEST, $dbHandler;
 | 
			
		||||
 | 
			
		||||
		$dbHandler->updateRows('kompass_veranstaltungen_teilis', $_POST, ['id' => $_GET['participant']]);
 | 
			
		||||
 | 
			
		||||
		kompass_print_message_box(__('Participation data updated successfull.', BDP_LV_PLUGIN_SLUG));
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user