Changeset 899 for trunk/Modules/NetworkTopology/NetworkTopology.php
- Timestamp:
- Feb 17, 2021, 12:30:23 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/NetworkTopology/NetworkTopology.php
r894 r899 135 135 } 136 136 137 class ModuleNetworkTopology extends AppModule137 class ModuleNetworkTopology extends Module 138 138 { 139 139 function __construct(System $System) … … 143 143 $this->Version = '1.0'; 144 144 $this->Creator = 'Chronos'; 145 $this->License = 'GNU/GPL ';145 $this->License = 'GNU/GPLv3'; 146 146 $this->Description = 'Generate image of network device interconnection'; 147 $this->Dependencies = array('Network'); 148 } 149 150 function GetModels(): array 151 { 152 return array(NetworkTopology::GetClassName()); 147 $this->Dependencies = array(ModuleNetwork::GetName()); 148 $this->Models = array(NetworkTopology::GetClassName()); 153 149 } 154 150 … … 161 157 class NetworkTopology extends Model 162 158 { 163 static function Get Desc(): ModelDesc159 static function GetModelDesc(): ModelDesc 164 160 { 165 161 $Desc = new ModelDesc(self::GetClassName());
Note:
See TracChangeset
for help on using the changeset viewer.