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

namespace Kufer\KuferTools\Mitarbeiter\DozentenInfo\Detailsreiter\DozentenDetails;

class DozentenDetailsView extends \Kufer\KuferTools\Basis\View\ViewSight
{
  public function getTemplatePathRelative()
  {
    return 'basis/personendetails/personendetails.sgt';
  }
  
  public function getBodyDataModulArray()
  {
    return $this->viewModel->columns;
  }
  
  public function getBodyExportAdapter() {
    return new \ExpColumn($this->viewModel->dozent);
  }
  
  protected function getDefaultDataModulArray() {
    return array($this->viewModel->dozent);
  }
  
  protected function getDefaultExportAdaper()
  {
    return new \ExpDozenten();
  }
  
  
}

class DozentenDetailsViewModel
{
  public $dozent, $columns;
}