Ignore:
Timestamp:
Nov 24, 2020, 10:58:56 AM (3 years ago)
Author:
chronos
Message:
  • Modified: More static types added.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/NetworkShare/SharePage.php

    r887 r888  
    33class SharePage extends Page
    44{
    5   var $Dependencies = array('Log');
    6   var $MaxNesting = 20; // Maximální vnoření
    7   var $Promene = array( // Automatické zapamatování proměnných
     5  public array $Dependencies = array('Log');
     6  public int $MaxNesting = 20; // Maximální vnoření
     7  public array $Promene = array( // Automatické zapamatování proměnných
    88    'keyword' => '',
    99    'file_type' => 0,
     
    2525  }
    2626
    27   function ShowTime()
     27  function ShowTime(): string
    2828  {
    2929    return date("H:i:s")."<br />\n";
     
    4040
    4141    // Najde cestu ke keřenu
    42   function PlnaCesta($Row)
     42  function PlnaCesta($Row): string
    4343  {
    4444    // Vyhledání cesty
     
    6060
    6161  // Převede velikost v bajtech na odpovídající jednotky
    62   function PrevedVelikost($Velikost)
     62  function PrevedVelikost($Velikost): string
    6363  {
    6464    $Jednotky = array('B','kB','MB','GB','TB','PB','EB');
Note: See TracChangeset for help on using the changeset viewer.