source: trunk/Packages/Common/Page.php

Last change on this file was 3, checked in by chronos, 8 years ago
  • Modified: Updated to work with PHP7. Old database class replaced by Common package.
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.