Changeset 894 for trunk/Modules/Network/Network.php
- Timestamp:
- Jan 5, 2021, 10:30:31 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Network/Network.php
r887 r894 1 1 <?php 2 2 3 include_once(dirname(__FILE__).'/NetworkModels.php'); 3 4 include_once(dirname(__FILE__).'/HostList.php'); 4 5 include_once(dirname(__FILE__).'/Subnet.php'); … … 117 118 } 118 119 119 function DoInstall(): void 120 { 121 } 122 123 function DoUninstall(): void 124 { 120 function GetModels(): array 121 { 122 return array(NetworkDomainAlias::GetClassName(), NetworkDevice::GetClassName(), NetworkDeviceType::GetClassName(), 123 NetworkDeviceLog::GetClassName(), NetworkInterface::GetClassName(), NetworkInterfaceType::GetClassName(), 124 NetworkSubnet::GetClassName(), NetworkPort::GetClassName(), NetworkSpeedLimit::GetClassName(), 125 NetworkInterfaceLatency::GetClassName(), NetworkLink::GetClassName(), NetworkLinkType::GetClassName(), 126 NetworkSignal::GetClassName(), NetworkAddressCategory::GetClassName(), NetworkDeviceConfig::GetClassName(), 127 NetworkDomain::GetClassName(), NetworkDomainServer::GetClassName(), NetworkDomainView::GetClassName(), 128 NetworkDomainItemFilter::GetClassName(), DeviceAPIType::GetClassName(), NetworkInterfaceWireless::GetClassName(), 129 NetworkInterfaceUpDown::GetClassName(), NetworkPortUpDown::GetClassName()); 125 130 } 126 131 … … 794 799 global $Config; 795 800 801 $StartTime = time(); 802 796 803 $DbResult = $this->System->Database->select('NetworkDeviceLog', 'Time', 797 804 '1 ORDER BY Time DESC LIMIT 1'); … … 838 845 $Output .= 'Síťových podsítí: '.$DbRow['0'].'<br/>'; 839 846 return $Output; 840 }841 842 function DoStop(): void843 {844 847 } 845 848
Note:
See TracChangeset
for help on using the changeset viewer.