Changeset 899 for trunk/Modules/TV
- Timestamp:
- Feb 17, 2021, 12:30:23 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/TV/TV.php
r894 r899 99 99 } 100 100 101 class ModuleTV extends AppModule101 class ModuleTV extends Module 102 102 { 103 103 function __construct(System $System) … … 109 109 $this->License = 'GNU/GPLv3'; 110 110 $this->Description = 'Television channels management'; 111 $this->Dependencies = array(); 112 } 113 114 function GetModels(): array 115 { 116 return array(TVGroup::GetClassName(), TV::GetClassName()); 111 $this->Models = array(TVGroup::GetClassName(), TV::GetClassName()); 117 112 } 118 113 … … 166 161 class TVGroup extends Model 167 162 { 168 static function Get Desc(): ModelDesc163 static function GetModelDesc(): ModelDesc 169 164 { 170 165 $Desc = new ModelDesc(self::GetClassName()); … … 176 171 class TV extends Model 177 172 { 178 static function Get Desc(): ModelDesc173 static function GetModelDesc(): ModelDesc 179 174 { 180 175 $Desc = new ModelDesc(self::GetClassName());
Note:
See TracChangeset
for help on using the changeset viewer.