<?php
/**
 * @copyright (c) Kufer Software GmbH, Oderstraße 7, D-84453 Mühldorf
 */

namespace Kufer\Web\KuferTools\Basis\TeilnehmerInfo\Detailsreiter\BelegteKurse\AbmeldenDialog;

abstract class AbmeldenDialogController extends \Kufer\Web\KuferTools\Basis\Controller\AjaxToolController
{
  protected function getRequestObj()
  {
    $requestObj = new AbmeldenDialogRequest();
    $requestObj->belegungIds = explode(',', \GetOperations::getVarValue('belIds'));
    $requestObj->tnr = \GetOperations::getVarValue('tnr');
    $requestObj->tguid = \GetOperations::getVarValue('tguid');

    return $requestObj;
  }
}