Changeset 893 for trunk/Modules/File/File.php
- Timestamp:
- Jan 4, 2021, 9:55:40 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/File/File.php
r891 r893 19 19 $Desc->AddInteger('Size'); 20 20 $Desc->AddReference('Directory', 'FileDirectory', true); 21 $Desc->AddDateTime('Time'); 21 $Desc->AddDateTime('Time'); 22 22 return $Desc; 23 23 } … … 192 192 } 193 193 194 function DoInstall(): void 195 { 196 $this->InstallModel(FileDirectory::GetDesc()); 197 $this->InstallModel(File::GetDesc()); 198 } 199 200 function DoUninstall(): void 201 { 202 $this->UninstallModel(File::GetDesc()); 203 $this->UninstallModel(FileDirectory::GetDesc()); 194 function GetModels(): array 195 { 196 return array('FileDirectory', 'File'); 204 197 } 205 198
Note:
See TracChangeset
for help on using the changeset viewer.