Changeset 899 for trunk/Modules/Subject/Subject.php
- Timestamp:
- Feb 17, 2021, 12:30:23 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Subject/Subject.php
r897 r899 1 1 <?php 2 2 3 class ModuleSubject extends AppModule3 class ModuleSubject 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 = 'Subject management'; 13 $this->Dependencies = array('User', 'Map'); 13 $this->Dependencies = array(ModuleUser::GetName(), ModuleMap::GetName()); 14 $this->Models = array(Subject::GetClassName(), ContactCategory::GetClassName(), 15 Contact::GetClassName()); 14 16 } 15 17 … … 131 133 } 132 134 133 function GetModels(): array134 {135 return array(Subject::GetClassName(), ContactCategory::GetClassName(),136 Contact::GetClassName());137 }138 139 135 function ShowDashboardItem(): string 140 136 { … … 148 144 class Subject extends Model 149 145 { 150 static function Get Desc(): ModelDesc146 static function GetModelDesc(): ModelDesc 151 147 { 152 148 $Desc = new ModelDesc(self::GetClassName()); … … 168 164 class Contact extends Model 169 165 { 170 static function Get Desc(): ModelDesc166 static function GetModelDesc(): ModelDesc 171 167 { 172 168 $Desc = new ModelDesc(self::GetClassName()); … … 183 179 class ContactCategory extends Model 184 180 { 185 static function Get Desc(): ModelDesc181 static function GetModelDesc(): ModelDesc 186 182 { 187 183 $Desc = new ModelDesc(self::GetClassName());
Note:
See TracChangeset
for help on using the changeset viewer.