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


class DataMenuKursortDetailsSelf extends DataMenuDetailsSelf
{
  public $dbwKursorte;

  public function __construct($urlparam)
  {
    parent::__construct($urlparam);
    $this->dbwKursorte = new DBWorkKursorteWB(1, true);
    $this->exportadapter = new ExpKursorte();
  }

  
  public function _getClickPath($pName = 'Raumdetails', $pPHP53DummyParam = '')
  {
    if ($this->toolsettings->clickRaumDetailText != '') {
      $pName = $this->toolsettings->clickRaumDetailText;
    }

    return parent::_getClickPath($pName);
  }

  
  public function getsight($sightid = 230)
  {
    parent::getsight($sightid);
  }

  
  public function getdataarrayheader()
  {
    $this->urlparameter->explodeSettingStream();
    $this->dataarrayheader = array($this->dbwKursorte->getKursort($this->urlparameter->dsnr));
  }

  
  public function getdataarraybody($pZeitBereich = 'noRestrict')
  {
    $this->urlparameter->explodeSettingStream();
    $this->dataarraybody = array($this->dbwKursorte->getKursort($this->urlparameter->dsnr));
  }

  
  public function getdataarrayfooter()
  {
    $this->urlparameter->explodeSettingStream();
    $this->dataarrayfooter = array($this->dbwKursorte->getKursort($this->urlparameter->dsnr));
  }

  public function get2ndColumn()
  {
    $tmp = $this->sight;
    $this->getsight(229);
    $this->getdataarraynocolumn();
    $retour = $this->getnocolumn();
    $this->sight = $tmp;

    return $retour;
  }
}