Ignore:
Timestamp:
Nov 20, 2020, 12:08:12 AM (3 years ago)
Author:
chronos
Message:
  • Added: Static types added to almost all classes, methods and function. Supported by PHP 7.4.
  • Fixed: Various found code issues.
File:
1 edited

Legend:

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

    r874 r887  
    33class CableTVChennelListPage extends Page
    44{
    5   var $FullTitle = 'Seznam televizních kanálů místní kabelové televize';
    6   var $ShortTitle = 'Kanály kabelové televize';
     5  function __construct(System $System)
     6  {
     7    parent::__construct($System);
     8    $this->FullTitle = 'Seznam televizních kanálů místní kabelové televize';
     9    $this->ShortTitle = 'Kanály kabelové televize';
     10  }
    711
    8   function Show()
     12  function Show(): string
    913  {
    1014    $Output = '<div align="center"><strong>Výpis kanálů:</strong><br>'.
     
    2125}
    2226
    23 $System->AddModule(new CableTVChennelListPage($System));
    24 $System->Modules['CableTVChennelListPage']->GetOutput();
     27$Page = new CableTVChennelListPage($System);
     28$Page->GetOutput();
Note: See TracChangeset for help on using the changeset viewer.