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

Legend:

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

    r894 r899  
    55include_once('SharePage.php');
    66
    7 class ModuleNetworkShare extends AppModule
     7class ModuleNetworkShare extends Module
    88{
    99  function __construct(System $System)
     
    1313    $this->Version = '1.0';
    1414    $this->Creator = 'Chronos';
    15     $this->License = 'GNU/GPL';
     15    $this->License = 'GNU/GPLv3';
    1616    $this->Description = 'System for loading network computer share file list and allow fast searching.';
    17     $this->Dependencies = array('Network');
    18   }
    19 
    20   function GetModels(): array
    21   {
    22     return array(NetworkShareItem::GetClassName(), NetworkShareError::GetClassName());
     17    $this->Dependencies = array(ModuleNetwork::GetName());
     18    $this->Models = array(NetworkShareItem::GetClassName(), NetworkShareError::GetClassName());
    2319  }
    2420
     
    3127class NetworkShareItem extends Model
    3228{
    33   static function GetDesc(): ModelDesc
     29  static function GetModelDesc(): ModelDesc
    3430  {
    3531    $Desc = new ModelDesc('NetworkShareItem');
     
    4743class NetworkShareError extends Model
    4844{
    49   static function GetDesc(): ModelDesc
     45  static function GetModelDesc(): ModelDesc
    5046  {
    5147    $Desc = new ModelDesc(self::GetClassName());
Note: See TracChangeset for help on using the changeset viewer.