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




namespace Kufer\KuferTools\Veranstalter\KursUebersicht\Detailsreiter\Honorar\AddDozent;

class NewDozentDialogView extends \Kufer\KuferTools\Basis\View\ViewSight
{
  public function getTemplatePathRelative()
  {
   return 'basis/kursdetails/detailsreiter/newdozent.sgt';
  }
  
 
  protected function getBodyDataModulArray()
  {
    return $this->viewModel->columns;
  }
  
  protected function getBodyExportAdapter()
  {
    return new \ExpColumn($this->viewModel->dozent, true);
  }
  

  protected function getDefaultExportAdaper()
  {
    return new \ExpKurse();
  }
  
  protected function getDefaultDataModulArray()
  {
    $this->viewModel->kurs->toolId = 51;
    return array($this->viewModel->kurs);
  }
  
  
  
}

class NewDozentDialogViewModel
{
  public $kurs;
  public $columns;
  
}