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

namespace Kufer\KuferTools\Basis\Kursdetails\DetailsReiter\Info;

class InfoView extends \Kufer\KuferTools\Basis\View\ViewSight
{
  public function getTemplatePathRelative()
  {
    return 'basis/kursdetails/detailsreiter/info.sgt';
  }

  protected function getDefaultDataModulArray()
  {
    $datamodul = $this->viewModel->kurs;
    $datamodul->info = $this->viewModel->info;

    return array($datamodul);
  }
}

class InfoViewModel
{
  public $info;
  public $kurs;
}