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

namespace Kufer\KuferTools\Teilnehmer\KursUebersicht\Detailsreiter\Journal;

class SetFilterJournalController extends JournalController
{
  
  protected function getRequestObj()
  {
    $requestObj = parent::getRequestObj();
    $requestObj->filter = true;
    $requestObj->journalTerminBereich = trim(\PostOperations::getVarValue('journalterminbereich', 'default'));
    $requestObj->journalVon = trim(\PostOperations::getVarValue('journalvon'));
    $requestObj->journalBis = trim(\PostOperations::getVarValue('journalbis'));
    $requestObj->journalfilterSollHaben = trim(\PostOperations::getVarValue('journalfilterSollHaben', 'default'));

    return $requestObj;
  }
}