Changeset 893 for trunk/Modules/EmailQueue/EmailQueue.php
- Timestamp:
- Jan 4, 2021, 9:55:40 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/EmailQueue/EmailQueue.php
r888 r893 19 19 } 20 20 21 class EmailQueue extends Model 22 { 23 static function GetDesc(): ModelDesc 24 { 25 $Desc = new ModelDesc('EmailQueue'); 26 $Desc->AddDateTime('Time'); 27 $Desc->AddString('To'); 28 $Desc->AddString('Subject'); 29 $Desc->AddText('Content'); 30 $Desc->AddString('Headers'); 31 $Desc->AddBoolean('Archive'); 32 $Desc->AddString('From'); 33 $Desc->AddReference('AttachmentFile', 'File'); 34 return $Desc; 35 } 36 } 37 21 38 class ModuleEmailQueue extends AppModule 22 39 { … … 32 49 } 33 50 34 function DoInstall(): void51 function GetModels(): array 35 52 { 36 } 37 38 function DoUninstall(): void 39 { 53 return array('EmailQueue'); 40 54 } 41 55 … … 72 86 ), 73 87 )); 74 }75 76 function DoStop(): void77 {78 88 } 79 89
Note:
See TracChangeset
for help on using the changeset viewer.