Changeset 899 for trunk/Modules/NetworkShare/NetworkShare.php
- Timestamp:
- Feb 17, 2021, 12:30:23 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/NetworkShare/NetworkShare.php
r894 r899 5 5 include_once('SharePage.php'); 6 6 7 class ModuleNetworkShare extends AppModule7 class ModuleNetworkShare extends Module 8 8 { 9 9 function __construct(System $System) … … 13 13 $this->Version = '1.0'; 14 14 $this->Creator = 'Chronos'; 15 $this->License = 'GNU/GPL ';15 $this->License = 'GNU/GPLv3'; 16 16 $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()); 23 19 } 24 20 … … 31 27 class NetworkShareItem extends Model 32 28 { 33 static function Get Desc(): ModelDesc29 static function GetModelDesc(): ModelDesc 34 30 { 35 31 $Desc = new ModelDesc('NetworkShareItem'); … … 47 43 class NetworkShareError extends Model 48 44 { 49 static function Get Desc(): ModelDesc45 static function GetModelDesc(): ModelDesc 50 46 { 51 47 $Desc = new ModelDesc(self::GetClassName());
Note:
See TracChangeset
for help on using the changeset viewer.