Changeset 887 for trunk/Modules/NetworkTopology/NetworkTopology.php
- Timestamp:
- Nov 20, 2020, 12:08:12 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/NetworkTopology/NetworkTopology.php
r874 r887 3 3 class PageNetworkTopology extends Page 4 4 { 5 var $FullTitle = 'Grafické zobrazení topologie sítě';6 var $ShortTitle = 'Topologie sítě';7 var $ParentClass = 'PagePortal';8 5 var $TopHostName = 'NIX-ROUTER'; 9 6 10 function Show() 7 function __construct(System $System) 8 { 9 parent::__construct($System); 10 $this->FullTitle = 'Grafické zobrazení topologie sítě'; 11 $this->ShortTitle = 'Topologie sítě'; 12 $this->ParentClass = 'PagePortal'; 13 } 14 15 function Show(): string 11 16 { 12 17 if (count($this->System->PathItems) > 1) … … 132 137 class ModuleNetworkTopology extends AppModule 133 138 { 134 function __construct( $System)139 function __construct(System $System) 135 140 { 136 141 parent::__construct($System); … … 143 148 } 144 149 145 function DoInstall() 150 function DoInstall(): void 146 151 { 147 152 } 148 153 149 function DoUnInstall() 154 function DoUnInstall(): void 150 155 { 151 156 } 152 157 153 function DoStart() 158 function DoStart(): void 154 159 { 155 $this->System->RegisterPage( 'topologie', 'PageNetworkTopology');160 $this->System->RegisterPage(['topologie'], 'PageNetworkTopology'); 156 161 } 157 162 }
Note:
See TracChangeset
for help on using the changeset viewer.