Changeset 899 for trunk/Modules/Map/Map.php
- Timestamp:
- Feb 17, 2021, 12:30:23 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Map/Map.php
r894 r899 257 257 } 258 258 259 class ModuleMap extends AppModule259 class ModuleMap extends Module 260 260 { 261 261 function __construct(System $System) … … 265 265 $this->Version = '1.0'; 266 266 $this->Creator = 'Chronos'; 267 $this->License = 'GNU/GPL ';267 $this->License = 'GNU/GPLv3'; 268 268 $this->Description = 'Show objects on Google maps'; 269 $this->Dependencies = array( 'Network', 'User');270 $this-> SupportedModels = array();269 $this->Dependencies = array(ModuleNetwork::GetName(), ModuleUser::GetName()); 270 $this->Models = array(MapPosition::GetClassName()); 271 271 } 272 272 … … 313 313 )); 314 314 } 315 316 function GetModels(): array317 {318 return array(MapPosition::GetClassName());319 }320 315 } 321 316 322 317 class MapPosition extends Model 323 318 { 324 static function Get Desc(): ModelDesc319 static function GetModelDesc(): ModelDesc 325 320 { 326 321 $Desc = new ModelDesc(self::GetClassName());
Note:
See TracChangeset
for help on using the changeset viewer.