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

 


class DataMenuHausDetailsSelf extends DataMenuDetailsSelf
{
  
  public $dbwHaus;

  
  public function __construct($urlparam)
  {
    parent::__construct($urlparam);
    $this->dbwHaus = new DBWorkGebaeude();
    $this->exportadapter = new ExpGebaeude();
  }

  
  public function _getClickPath($pPHP53DummyParam1 = '', $pPHP53DummyParam2 = '')
  {
    $tmp = 'Geb&auml;udedetails';
    
    if ($this->toolsettings->clickHausDetailText != '') {
      $tmp = $this->toolsettings->clickHausDetailText;
    }

    return parent::_getClickPath($tmp);
  }

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

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

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

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

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

    return $retour;
  }
}