Line | |
---|
1 | <?php
|
---|
2 |
|
---|
3 | class 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 |
|
---|
21 | class PageMonitoring extends Page
|
---|
22 | {
|
---|
23 | function __construct(System $System)
|
---|
24 | {
|
---|
25 | parent::__construct($System);
|
---|
26 | $this->FullTitle = 'Monitoring';
|
---|
27 | $this->ShortTitle = 'Monitoring';
|
---|
28 | $this->ParentClass = 'PagePortal';
|
---|
29 | }
|
---|
30 |
|
---|
31 | function Show(): string
|
---|
32 | {
|
---|
33 | $Output = '';
|
---|
34 | return $Output;
|
---|
35 | }
|
---|
36 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.