| 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->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.