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


class Page4ExternContent extends PageBaseWT
{
  private $_data;
  private $_contentHeader;

  public function __construct($pPageTitle, $pPageId, $pTool, $pContentHeader, $pData)
  {
    parent::__construct($pPageTitle, $pPageId, $pTool);
    $this->_contentHeader = $pContentHeader;
    $this->_data = $pData;
  }

  public function getContentHeader()
  {
    return $this->_contentHeader;
  }

  public function getContent()
  {
    $result = '<div id="main_content">' . "\n";
    $result .= $this->_data;
    $result .= '</div>' . "\n";

    return $result;
  }

  public function requiresFullScreen()
  {
    return DARSTELLUNG_MIT_LEFT_MAIN_MENU;
  }
}