<?php

class Page extends View
{
  var $Title;
  var $ParentClass;
  var $RawPage;
  var $OnSystemMessage;

  function __construct(System $System)
  {
    parent::__construct($System);
    $this->RawPage = false;
    $this->OnSystemMessage = array();
  }

  function Show()
  {
    return('');
  }

  function GetOutput()
  {
    $Output = $this->Show();
    return($Output);
  }

  function SystemMessage($Title, $Text)
  {
    return(call_user_func_array($this->OnSystemMessage, array($Title, $Text)));
  }
}
