Changeset 899 for trunk/Modules/Document/Document.php
- Timestamp:
- Feb 17, 2021, 12:30:23 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Document/Document.php
r894 r899 1 1 <?php 2 2 3 class ModuleDocument extends AppModule3 class ModuleDocument extends Module 4 4 { 5 5 function __construct(System $System) … … 9 9 $this->Version = '1.0'; 10 10 $this->Creator = 'Chronos'; 11 $this->License = 'GNU/GPL ';11 $this->License = 'GNU/GPLv3'; 12 12 $this->Description = 'Documents support'; 13 $this->Dependencies = array(); 13 $this->Models = array(FinanceYear::GetClassName(), DocumentLineCode::GetClassName(), DocumentLine::GetClassName(), 14 DocumentLineSequence::GetClassName()); 14 15 } 15 16 … … 79 80 )); 80 81 } 81 82 function GetModels(): array83 {84 return array(FinanceYear::GetClassName(), DocumentLineCode::GetClassName(), DocumentLine::GetClassName(),85 DocumentLineSequence::GetClassName());86 }87 82 } 88 83 89 84 class DocumentLine extends Model 90 85 { 91 static function Get Desc(): ModelDesc86 static function GetModelDesc(): ModelDesc 92 87 { 93 88 $Desc = new ModelDesc(self::GetClassName()); … … 101 96 class DocumentLineCode extends Model 102 97 { 103 static function Get Desc(): ModelDesc98 static function GetModelDesc(): ModelDesc 104 99 { 105 100 $Desc = new ModelDesc(self::GetClassName()); … … 112 107 class DocumentLineSequence extends Model 113 108 { 114 static function Get Desc(): ModelDesc109 static function GetModelDesc(): ModelDesc 115 110 { 116 111 $Desc = new ModelDesc(self::GetClassName()); … … 125 120 class FinanceYear extends Model 126 121 { 127 static function Get Desc(): ModelDesc122 static function GetModelDesc(): ModelDesc 128 123 { 129 124 $Desc = new ModelDesc(self::GetClassName());
Note:
See TracChangeset
for help on using the changeset viewer.