Changeset 894 for trunk/Modules/Wiki/Wiki.php
- Timestamp:
- Jan 5, 2021, 10:30:31 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Wiki/Wiki.php
r893 r894 17 17 function GetModels(): array 18 18 { 19 return array( 'WikiPage', 'WikiPageContent');19 return array(WikiPage::GetClassName(), WikiPageContent::GetClassName()); 20 20 } 21 21 … … 58 58 static function GetDesc(): ModelDesc 59 59 { 60 $Desc = new ModelDesc( 'WikiPageContent');61 $Desc->AddReference('Page', 'Page');60 $Desc = new ModelDesc(self::GetClassName()); 61 $Desc->AddReference('Page', WikiPage::GetClassName()); 62 62 $Desc->AddDateTime('Time'); 63 63 $Desc->AddText('Content'); 64 $Desc->AddReference('User', 'User');64 $Desc->AddReference('User', User::GetClassName()); 65 65 return $Desc; 66 66 }
Note:
See TracChangeset
for help on using the changeset viewer.