Ignore:
Timestamp:
Feb 17, 2021, 12:30:23 PM (4 years ago)
Author:
chronos
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/NetworkTopology/NetworkTopology.php

    r894 r899  
    135135}
    136136
    137 class ModuleNetworkTopology extends AppModule
     137class ModuleNetworkTopology extends Module
    138138{
    139139  function __construct(System $System)
     
    143143    $this->Version = '1.0';
    144144    $this->Creator = 'Chronos';
    145     $this->License = 'GNU/GPL';
     145    $this->License = 'GNU/GPLv3';
    146146    $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());
    153149  }
    154150
     
    161157class NetworkTopology extends Model
    162158{
    163   static function GetDesc(): ModelDesc
     159  static function GetModelDesc(): ModelDesc
    164160  {
    165161    $Desc = new ModelDesc(self::GetClassName());
Note: See TracChangeset for help on using the changeset viewer.