Changeset 888 for trunk/Modules/Wiki/Wiki.php
- Timestamp:
- Dec 27, 2022, 7:50:23 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Wiki/Wiki.php
r880 r888 1 1 <?php 2 2 3 class ModuleWiki extends AppModule3 class ModuleWiki extends Module 4 4 { 5 5 function __construct(System $System) … … 14 14 } 15 15 16 function DoStart() 16 function DoStart(): void 17 17 { 18 18 $this->LoadPages(); … … 25 25 { 26 26 $this->System->RegisterPage($DbRow['NormalizedName'], 'PageWiki'); 27 $this->System->RegisterMenuItem(array(27 Core::Cast($this->System)->RegisterMenuItem(array( 28 28 'Title' => $DbRow['Name'], 29 29 'Hint' => '', … … 38 38 class PageWiki extends Page 39 39 { 40 function Show() 40 function Show(): string 41 41 { 42 42 if (array_key_exists('Action', $_GET))
Note:
See TracChangeset
for help on using the changeset viewer.