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

namespace Kufer\Web\KuferTools\Veranstalter\DozentenInfo\DozentDetails;

class ReiterView extends \Kufer\Web\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;
}