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

namespace Kufer\KuferTools\Basis\KursUebersicht;

abstract class KursUebersichtView extends \Kufer\KuferTools\Basis\Uebersicht\UebersichtView
{
  
  protected function getDefaultDataModulArray()
  {
    static $obj = null;
    if(\is_null($obj)) {
      $obj = new \Datamodul();
      $obj->blaettern = $this->viewModel->blaettern;
      $obj->buttons = $this->viewModel->buttons;
      $obj->beginn_dat = $this->viewModel->filter->beginn_dat;
      $obj->ende_dat = $this->viewModel->filter->ende_dat;
    }
    return array($obj);
  }
  
  protected function getBodyDataModulArray()
  {
    return $this->getDefaultDataModulArray();
  }
}

class KursUebersichtViewModel extends \Kufer\KuferTools\Basis\Uebersicht\UebersichtViewModel
{
  public $filter;
}