source: trunk/Packages/Common/Page.php

Last change on this file was 970, checked in by chronos, 6 months ago
  • Modified: Service internet speed min and max used as contracted speeds. Real speed will be calculated with bonus speed and further queues calculations.
  • Added: Bonus internet speed service field.
  • Modified: Few PHP 8.3 fixes.
File size: 792 bytes
Line 
1<?php
2
3class Page extends View
4{
5 public string $Title;
6 public string $Description;
7 public string $ParentClass;
8 public bool $RawPage;
9 public bool $BasicHTML;
10 public $OnSystemMessage;
11 public string $Load;
12 public string $Unload;
13
14 function __construct(System $System)
15 {
16 parent::__construct($System);
17 $this->RawPage = false;
18 $this->BasicHTML = false;
19 $this->OnSystemMessage = array();
20 $this->Title = "";
21 $this->Description = "";
22 $this->ParentClass = "";
23 }
24
25 function Show(): string
26 {
27 return '';
28 }
29
30 function GetOutput(): string
31 {
32 $Output = $this->Show();
33 return $Output;
34 }
35
36 function SystemMessage(string $Title, string $Text): string
37 {
38 return call_user_func_array($this->OnSystemMessage, array($Title, $Text));
39 }
40}
Note: See TracBrowser for help on using the repository browser.