Changeset 887 for trunk/Modules/NetworkConfigAirOS/NetworkConfigAirOS.php
- Timestamp:
- Nov 20, 2020, 12:08:12 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/NetworkConfigAirOS/NetworkConfigAirOS.php
r781 r887 5 5 class ModuleNetworkConfigAirOS extends AppModule 6 6 { 7 function __construct( $System)7 function __construct(System $System) 8 8 { 9 9 parent::__construct($System); … … 16 16 } 17 17 18 function DoInstall() 18 function DoInstall(): void 19 19 { 20 20 } 21 21 22 function DoUnInstall() 22 function DoUnInstall(): void 23 23 { 24 24 } 25 25 26 function DoStart() 26 function DoStart(): void 27 27 { 28 $this->System->ModuleManager->Modules['NetworkConfig']->RegisterConfigItem('airos-signal', 'ConfigAirOSSignal');28 ModuleNetworkConfig::Cast($this->System->GetModule('NetworkConfig'))->RegisterConfigItem('airos-signal', 'ConfigAirOSSignal'); 29 29 } 30 30 }
Note:
See TracChangeset
for help on using the changeset viewer.