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

class SightConfiguratorUebersicht extends SightConfigurator
{
  
  public function __construct($pSightId, $pWidthConfig, $pHeightConfig)
  {
    parent::__construct($pSightId, $pWidthConfig, $pHeightConfig);
    $this->widthConfig = $pWidthConfig;
    $this->heightConfig = $pHeightConfig;
    $this->_classForSaveDiv = 'uebersicht';
  }

  
  public function build()
  {
    $result = '<div id="configurator_uebersicht">';
    $result .= $this->_createSaveButton();
    $result .= $this->_createConfigDiv();
    $result .= $this->_createElementsDivHeading();
    $result .= $this->_createElementsDiv();
    $result .= $this->_createExplanationDiv();
    $result .= $this->_getJQueryMagic();
    $result .= '</div>';

    return $result;
  }
}