Changeset 899 for trunk/Modules/Network/Network.php
- Timestamp:
- Feb 17, 2021, 12:30:23 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Network/Network.php
r895 r899 100 100 } 101 101 102 class ModuleNetwork extends AppModule102 class ModuleNetwork extends Module 103 103 { 104 104 public int $MinNotifyTime; … … 112 112 $this->License = 'GNU/GPLv3'; 113 113 $this->Description = 'Networking related tools'; 114 $this->Dependencies = array('Notify', 'IS'); 115 116 // TODO: Make notify time configurable 117 $this->MinNotifyTime = 30; // seconds 118 } 119 120 function GetModels(): array 121 { 122 return array(NetworkDomainAlias::GetClassName(), NetworkDevice::GetClassName(), NetworkDeviceType::GetClassName(), 114 $this->Dependencies = array(ModuleNotify::GetName(), ModuleIS::GetName()); 115 $this->Models = array(NetworkDomainAlias::GetClassName(), NetworkDevice::GetClassName(), NetworkDeviceType::GetClassName(), 123 116 NetworkDeviceLog::GetClassName(), NetworkInterface::GetClassName(), NetworkInterfaceType::GetClassName(), 124 117 NetworkSubnet::GetClassName(), NetworkPort::GetClassName(), NetworkSpeedLimit::GetClassName(), … … 128 121 NetworkDomainItemFilter::GetClassName(), DeviceAPIType::GetClassName(), NetworkInterfaceWireless::GetClassName(), 129 122 NetworkInterfaceUpDown::GetClassName(), NetworkPortUpDown::GetClassName()); 123 124 // TODO: Make notify time configurable 125 $this->MinNotifyTime = 30; // seconds 130 126 } 131 127
Note:
See TracChangeset
for help on using the changeset viewer.