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

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

class SendeFeedbackFragenView extends \Kufer\KuferTools\Basis\View\ViewSight
{
  public function getTemplatePathRelative()
  {
    return 'basis/feedbackbogen/feedbackbogenversendet.sgt';
  }

  protected function getDefaultDataModulArray()
  {
    $this->viewModel->kurs->statusMessage = $this->viewModel->statusMessage;
    $this->viewModel->kurs->toolId = $this->viewModel->toolId;
    $this->viewModel->kurs->backLink = $this->viewModel->backLink;

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

  protected function getDefaultExportAdaper()
  {
    return new \ExpKurse();
  }
}

class SendeFeedbackFragenViewModel
{
  public $kurs;
  public $statusMessage;
  public $toolId;
  public $backLink;
}