Changeset 894 for trunk/Modules/NetworkTopology/NetworkTopology.php
- Timestamp:
- Jan 5, 2021, 10:30:31 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/NetworkTopology/NetworkTopology.php
r888 r894 148 148 } 149 149 150 function DoInstall(): void150 function GetModels(): array 151 151 { 152 } 153 154 function DoUnInstall(): void 155 { 152 return array(NetworkTopology::GetClassName()); 156 153 } 157 154 … … 161 158 } 162 159 } 160 161 class NetworkTopology extends Model 162 { 163 static function GetDesc(): ModelDesc 164 { 165 $Desc = new ModelDesc(self::GetClassName()); 166 $Desc->AddInteger('Host'); 167 $Desc->AddInteger('Depth'); 168 $Desc->AddInteger('Pos'); 169 $Desc->AddInteger('First'); 170 $Desc->AddInteger('Last'); 171 return $Desc; 172 } 173 }
Note:
See TracChangeset
for help on using the changeset viewer.