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

namespace Kufer\KuferTools\Veranstalter\DozentenInfo\DozentDetails;

class ReiterView extends \Kufer\KuferTools\Basis\View\ViewSight
{
  public function getTemplatePathRelative()
  {
    return 'veranstalter/dozenteninfo/dozentdetails/reiter.sgt';
  }

  protected function getHeaderDataModulArray()
  {
    return array($this->viewModel->dozent);
  }

  protected function getHeaderExportAdapter()
  {
    return new \ExpDozenten();
  }

  protected function getBodyDataModulArray()
  {
    return $this->viewModel->reiter;
  }

  protected function getFooterDataModulArray()
  {
    return array($this->viewModel->dozent);
  }

  protected function getFooterExportAdapter()
  {
    return new \ExpDozenten();
  }
}

class ReiterViewModel
{
  public $reiter;
  public $dozent;
}