Changeset 888 for trunk/Modules/FrontPage/FrontPage.php
- Timestamp:
- Dec 27, 2022, 7:50:23 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/FrontPage/FrontPage.php
r880 r888 1 1 <?php 2 2 3 class ModuleFrontPage extends AppModule3 class ModuleFrontPage extends Module 4 4 { 5 5 function __construct(System $System) … … 15 15 } 16 16 17 function DoStart() 17 function DoStart(): void 18 18 { 19 $this->System->RegisterPage( '', 'PageFrontPage');20 $this->System->RegisterMenuItem(array(19 $this->System->RegisterPage([''], 'PageFrontPage'); 20 Core::Cast($this->System)->RegisterMenuItem(array( 21 21 'Title' => T('Home'), 22 22 'Hint' => T('Main page'), … … 71 71 class PageFrontPage extends Page 72 72 { 73 function Show() 73 function Show(): string 74 74 { 75 75 global $Message, $MessageType;
Note:
See TracChangeset
for help on using the changeset viewer.