Changeset 899 for trunk/Modules/OpeningHours/OpeningHours.php
- Timestamp:
- Feb 17, 2021, 12:30:23 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/OpeningHours/OpeningHours.php
r894 r899 215 215 } 216 216 217 class ModuleOpeningHours extends AppModule217 class ModuleOpeningHours extends Module 218 218 { 219 219 function __construct(System $System) … … 223 223 $this->Version = '1.0'; 224 224 $this->Creator = 'Chronos'; 225 $this->License = 'GNU/GPL ';225 $this->License = 'GNU/GPLv3'; 226 226 $this->Description = 'Show subject opening hours with time to open or time to close'; 227 $this->Dependencies = array(); 228 } 229 230 function GetModels(): array 231 { 232 return array(SubjectOpenTime::GetClassName(), SubjectOpenTimeDay::GetClassName()); 227 $this->Models = array(SubjectOpenTime::GetClassName(), SubjectOpenTimeDay::GetClassName()); 233 228 } 234 229 … … 246 241 class SubjectOpenTime extends Model 247 242 { 248 static function Get Desc(): ModelDesc243 static function GetModelDesc(): ModelDesc 249 244 { 250 245 $Desc = new ModelDesc(self::GetClassName()); … … 259 254 class SubjectOpenTimeDay extends Model 260 255 { 261 static function Get Desc(): ModelDesc256 static function GetModelDesc(): ModelDesc 262 257 { 263 258 $Desc = new ModelDesc(self::GetClassName());
Note:
See TracChangeset
for help on using the changeset viewer.