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

namespace Kufer\KuferTools\Basis\Raumbelegung\Raumdetails\Detailsreiter\Kurse;

abstract class ReiterKursePresenter extends \Kufer\KuferTools\Basis\Raumbelegung\Raumdetails\Detailsreiter\Termine\ReiterTerminePresenter
{
  
  abstract protected function setModelKursAttribute4Links($pViewModel);

  
  protected function getEmptyDataObj()
  {
    
    $dbwObj = new \DBWorkKurseWT();

    return $dbwObj->getNewObject();
  }

  
  protected function getAnderenContent($datamodul, $key)
  {
    $viewModel = new KursViewModel();
    

    $viewModel->columns = $this->getHyperlink4Columns($datamodul, $this->useCaseResponse->columns);
    $viewModel->kurs = $datamodul;
    
    $viewModel->kurs->linkZuKursdetails = $this->getLinkZuKursdetails($datamodul);
    $this->setModelKursAttribute4Links($viewModel);
    $viewModel->index = $key;
    $kursView = $this->getView4AnderenContent($viewModel);

    return $kursView->show();
  }

  
  protected function isAdressLink($pColumn)
  {
  }

  
  protected function setColumnHyperLink($pDatamodul, $pColumn)
  {
  }
}