source: trunk/Modules/Monitoring/Monitoring.php

Last change on this file was 912, checked in by chronos, 3 years ago
  • Modified: Updated Common package.
File size: 682 bytes
Line 
1<?php
2
3class ModuleMonitoring extends Module
4{
5 function __construct(System $System)
6 {
7 parent::__construct($System);
8 $this->Name = 'Monitoring';
9 $this->Version = '1.0';
10 $this->Creator = 'Chronos';
11 $this->License = 'GNU/GPLv3';
12 $this->Description = 'Monitoring for various states';
13 }
14
15 function DoStart(): void
16 {
17 $this->System->RegisterPage(['monitoring'], 'PageMonitoring');
18 }
19}
20
21class PageMonitoring extends Page
22{
23 function __construct(System $System)
24 {
25 parent::__construct($System);
26 $this->Title = 'Monitoring';
27 $this->ParentClass = 'PagePortal';
28 }
29
30 function Show(): string
31 {
32 $Output = '';
33 return $Output;
34 }
35}
Note: See TracBrowser for help on using the repository browser.