Ignore:
Timestamp:
Feb 17, 2021, 12:30:23 PM (4 years ago)
Author:
chronos
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/TV/TV.php

    r894 r899  
    9999}
    100100
    101 class ModuleTV extends AppModule
     101class ModuleTV extends Module
    102102{
    103103  function __construct(System $System)
     
    109109    $this->License = 'GNU/GPLv3';
    110110    $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());
    117112  }
    118113
     
    166161class TVGroup extends Model
    167162{
    168   static function GetDesc(): ModelDesc
     163  static function GetModelDesc(): ModelDesc
    169164  {
    170165    $Desc = new ModelDesc(self::GetClassName());
     
    176171class TV extends Model
    177172{
    178   static function GetDesc(): ModelDesc
     173  static function GetModelDesc(): ModelDesc
    179174  {
    180175    $Desc = new ModelDesc(self::GetClassName());
Note: See TracChangeset for help on using the changeset viewer.