source: web/Packages/Common/Page.php

Last change on this file was 17, checked in by chronos, 8 years ago
  • Modified: Old database class replaced by newer from Common package to fix compatibility with PHP7.
File size: 511 bytes
Line 
1<?php
2
3class Page extends View
4{
5 var $Title;
6 var $ParentClass;
7 var $RawPage;
8 var $OnSystemMessage;
9
10 function __construct(System $System)
11 {
12 parent::__construct($System);
13 $this->RawPage = false;
14 $this->OnSystemMessage = array();
15 }
16
17 function Show()
18 {
19 return('');
20 }
21
22 function GetOutput()
23 {
24 $Output = $this->Show();
25 return($Output);
26 }
27
28 function SystemMessage($Title, $Text)
29 {
30 return(call_user_func_array($this->OnSystemMessage, array($Title, $Text)));
31 }
32}
Note: See TracBrowser for help on using the repository browser.