Ignore:
Timestamp:
Feb 17, 2021, 12:30:23 PM (4 years ago)
Author:
chronos
Message:
Location:
trunk/Modules/TimeMeasure
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/TimeMeasure/Measure.php

    r894 r899  
    1212  public array $ValueTypes = array('Min', 'Avg', 'Max');
    1313
    14   static function GetDesc(): ModelDesc
     14  static function GetModelDesc(): ModelDesc
    1515  {
    1616    $Desc = new ModelDesc(self::GetClassName());
     
    329329    }
    330330    // array_pop($Values);
    331     //  echo('abc');
    332     //  die();
    333331    if ($this->Debug) echo('Item count: '.count($Values));
    334332
  • trunk/Modules/TimeMeasure/TimeMeasure.php

    r894 r899  
    55include_once(dirname(__FILE__).'/Main.php');
    66
    7 class ModuleTimeMeasure extends AppModule
     7class ModuleTimeMeasure extends Module
    88{
    99  function __construct(System $System)
     
    1515    $this->License = 'GNU/GPLv3';
    1616    $this->Description = 'Time measure of custom values, char';
    17     $this->Dependencies = array('User');
    18   }
    19 
    20   function GetModels(): array
    21   {
    22     return array(Measure::GetClassName());
     17    $this->Dependencies = array(ModuleUser::GetName());
     18    $this->Models = array(Measure::GetClassName());
    2319  }
    2420
Note: See TracChangeset for help on using the changeset viewer.