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

namespace Kufer\KuferTools\Mitarbeiter\KursUebersicht\Detailsreiter\Termine;

class TerminReiterView extends \Kufer\KuferTools\Basis\Kursdetails\DetailsReiter\Termine\TerminReiterView
{
  public function getTemplatePathRelative()
  {
    return 'mitarbeiter/kursuebersicht/detailsreiter/terminreiter.sgt';
  }

  protected function getFooterDataModulArray()
  {
    $this->viewModel->kurs->jsdeclarations = '<script type="text/javascript" charset="' . \CodingOperations::getExternalEncoding() . '">' . "\n" . $this->viewModel->jsdeclarations . '</script>' . "\n";

    return array($this->viewModel->kurs);
  }

  protected function getNoDataDataModulArray()
  {
    return array($this->viewModel->kurs);
  }
}