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

namespace Kufer\KuferTools\Basis\PdfListen\TnListen\PrintTnListen;


abstract class PrintTnListenController extends \Kufer\KuferTools\Basis\PdfListen\PrintPdfListen\PrintPdfListenController
{
  protected function getId()
  {
    return \GetOperations::getVarValue('nr');
  }

  protected function getRequestObj()
  {
    $requestObj = parent::getRequestObj();
    $requestObj->ktVon = \RequestOperations::getVarValue('kt_von');
    $requestObj->ktBis = \RequestOperations::getVarValue('kt_bis');

    return $requestObj;
  }

  protected function getPresenter($pUseCaseResponse)
  {
    return new PrintTnListenPresenter($pUseCaseResponse);
  }
}