Changeset 899 for trunk/Modules/Meals
- Timestamp:
- Feb 17, 2021, 12:30:23 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Meals/Meals.php
r894 r899 182 182 } 183 183 184 class ModuleMeals extends AppModule184 class ModuleMeals extends Module 185 185 { 186 186 function __construct(System $System) … … 190 190 $this->Version = '1.0'; 191 191 $this->Creator = 'Chronos'; 192 $this->License = 'GNU/GPL ';192 $this->License = 'GNU/GPLv3'; 193 193 $this->Description = 'Module for management meals. Can print week menu.'; 194 $this->Dependencies = array('Log'); 195 $this->SupportedModels = array('Meals', 'MealsInfo'); 196 } 197 198 function GetModels(): array 199 { 200 return array(Meals::GetClassName(), MealsInfo::GetClassName()); 194 $this->Dependencies = array(ModuleLog::GetName()); 195 $this->Models = array(Meals::GetClassName(), MealsInfo::GetClassName()); 201 196 } 202 197 … … 209 204 class Meals extends Model 210 205 { 211 static function Get Desc(): ModelDesc206 static function GetModelDesc(): ModelDesc 212 207 { 213 208 $Desc = new ModelDesc(self::GetClassName()); … … 222 217 class MealsInfo extends Model 223 218 { 224 static function Get Desc(): ModelDesc219 static function GetModelDesc(): ModelDesc 225 220 { 226 221 $Desc = new ModelDesc(self::GetClassName());
Note:
See TracChangeset
for help on using the changeset viewer.