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

namespace Kufer\Web\KuferTools\Basis\Kursdetails\Detailsreiter\Downloads\Upload;

use Kufer\Web\KuferTools\Utils\Download\DokuHelper as DokuHelper;

abstract class DoUploadController extends \Kufer\Web\KuferTools\Basis\Controller\ToolController
{
  
  protected $dokuHelper;

  public function __construct()
  {
    $this->dokuHelper = new DokuHelper();
  }

  protected function getRequestObj()
  {
    $requestObj = $this->dokuHelper->getCommonRequestPart();
    $requestObj->knr = \GetOperations::getVarValue('knr');
    
    $action = \GetOperations::getVarValue('action');

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

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