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

namespace Kufer\KuferTools\Veranstalter\KursUebersicht\KursDetails\Feedback;

class SendFeedbackView extends \Kufer\KuferTools\Basis\View\ViewSight
{
  public function getTemplatePathRelative()
  {
    return 'veranstalter/kursuebersicht/detailsreiter/nachrichtversendet.sgt';
  }
  
  protected function getDefaultDataModulArray()
  {
    $this->viewModel->kurs->message = $this->viewModel->message;
    return array($this->viewModel->kurs);
  }
  
  protected function getDefaultExportAdaper()
  {
    return new \ExpKurse();
  }
  
}

class SendFeedbackViewModel
{
  public $kurs, $message;
}