Changeset 894 for trunk/Modules/TV/TV.php
- Timestamp:
- Jan 5, 2021, 10:30:31 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/TV/TV.php
r893 r894 114 114 function GetModels(): array 115 115 { 116 return array( 'TVGroup', 'TV');116 return array(TVGroup::GetClassName(), TV::GetClassName()); 117 117 } 118 118 … … 168 168 static function GetDesc(): ModelDesc 169 169 { 170 $Desc = new ModelDesc( 'TVGroup');170 $Desc = new ModelDesc(self::GetClassName()); 171 171 $Desc->AddString('Name'); 172 172 return $Desc; … … 178 178 static function GetDesc(): ModelDesc 179 179 { 180 $Desc = new ModelDesc( 'TV');180 $Desc = new ModelDesc(self::GetClassName()); 181 181 $Desc->AddString('Name'); 182 182 $Desc->AddInteger('Frequency'); 183 183 $Desc->AddString('Norm'); 184 184 $Desc->AddString('Homepage'); 185 $Desc->AddReference('Language', 'Language');185 $Desc->AddReference('Language', Language::GetClassName()); 186 186 $Desc->AddString('ShortName'); 187 187 $Desc->AddString('Stream'); 188 188 $Desc->AddString('StreamWeb'); 189 189 $Desc->AddString('SourceType'); 190 $Desc->AddReference('Category', 'TVGroup');190 $Desc->AddReference('Category', TVGroup::GetClassName()); 191 191 return $Desc; 192 192 }
Note:
See TracChangeset
for help on using the changeset viewer.