<?php
/**
 * @copyright (c) Kufer Software GmbH, Loisachstrasse 4, D-84453 Mühldorf
 */

namespace Kufer\KuferTools\Basis\Kursdetails\DetailsReiter\Termine\TermineLoeschen;

abstract class TermineLoeschenController extends \Kufer\KuferTools\Basis\Controller\ToolController
{
  protected function getRequestObj()
  {
    $requestObj = new TermineLoeschenRequest();
    $requestObj->knr = \GetOperations::getVarValue('knr');
    $requestObj->ktIds = explode(':', \GetOperations::getVarValue('ktIds'));
    $action = $this->getActionVal();

    return $this->handleXsrf($requestObj, $action, $requestObj->ktIds);
  }

  protected function getPresenter($pUseCaseResponse)
  {
    return null;
  }
}