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

namespace Kufer\KuferTools\Basis\TeilnehmerInfo\TeilnehmerDetails;

abstract class TeilnehmerDetailsController extends \Kufer\KuferTools\Basis\Controller\ToolController
{
  protected function getRequestObj()
  {
    $request = new TeilnehmerDetailsRequest();
    $request->tnr = \GetOperations::getVarValue('tnr');
    $request->tguid = \GetOperations::getVarValue('tguid', null);
    $request->referer = \GetOperations::getVarValue('referer');
    $request->refererLabel = \GetOperations::getVarValue('refererLabel');
    $request->newTnStatusCode = \SessionOperations::getVarValueWTIntern('newTnStatusCode');
    $request->newTnWrongFields = \SessionOperations::getVarValueWTIntern('newTnWrongFields');

    return $request;
  }

  
  abstract protected function getToolId();
}