Changeset 899 for trunk/Modules/Task
- Timestamp:
- Feb 17, 2021, 12:30:23 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Task/Task.php
r894 r899 1 1 <?php 2 2 3 class ModuleTask extends AppModule3 class ModuleTask 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 = 'Work and task management'; 13 $this->Dependencies = array('User'); 14 } 15 16 function GetModels(): array 17 { 18 return array(TaskGroup::GetClassName(), Task::GetClassName(), Work::GetClassName()); 13 $this->Dependencies = array(ModuleUser::GetName()); 14 $this->Models = array(TaskGroup::GetClassName(), Task::GetClassName(), Work::GetClassName()); 19 15 } 20 16 … … 109 105 class Task extends Model 110 106 { 111 static function Get Desc(): ModelDesc107 static function GetModelDesc(): ModelDesc 112 108 { 113 109 $Desc = new ModelDesc(self::GetClassName()); … … 129 125 class TaskGroup extends Model 130 126 { 131 static function Get Desc(): ModelDesc127 static function GetModelDesc(): ModelDesc 132 128 { 133 129 $Desc = new ModelDesc(self::GetClassName()); … … 141 137 class Work extends Model 142 138 { 143 static function Get Desc(): ModelDesc139 static function GetModelDesc(): ModelDesc 144 140 { 145 141 $Desc = new ModelDesc(self::GetClassName());
Note:
See TracChangeset
for help on using the changeset viewer.