Changeset 894 for trunk/Modules/File
- Timestamp:
- Jan 5, 2021, 10:30:31 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/File/File.php
r893 r894 18 18 $Desc->AddString('Name'); 19 19 $Desc->AddInteger('Size'); 20 $Desc->AddReference('Directory', 'FileDirectory', true);20 $Desc->AddReference('Directory', FileDirectory::GetClassName(), true); 21 21 $Desc->AddDateTime('Time'); 22 22 return $Desc; … … 120 120 $Desc = new ModelDesc('FileDirectory'); 121 121 $Desc->AddString('Name'); 122 $Desc->AddReference('Parent', 'FileDirectory', true);122 $Desc->AddReference('Parent', FileDirectory::GetClassName(), true); 123 123 return $Desc; 124 124 } … … 194 194 function GetModels(): array 195 195 { 196 return array( 'FileDirectory', 'File');196 return array(FileDirectory::GetClassName(), File::GetClassName()); 197 197 } 198 198
Note:
See TracChangeset
for help on using the changeset viewer.