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

namespace Kufer\Web\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;
  }
}