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

namespace Kufer\Web\KuferTools\Dozent\KursUebersicht\Detailsreiter\Termine;

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

  protected function getFooterDataModulArray()
  {
    $this->viewModel->kurs->jsdeclarations = '<script>' . "\n" . $this->viewModel->jsdeclarations . '</script>' . "\n";

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

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