Changeset 888 for trunk/Modules/ShoutBox/ShoutBox.php
- Timestamp:
- Dec 27, 2022, 7:50:23 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/ShoutBox/ShoutBox.php
r880 r888 1 1 <?php 2 2 3 class ModuleShoutBox extends AppModule3 class ModuleShoutBox extends Module 4 4 { 5 5 function __construct(System $System) … … 14 14 } 15 15 16 function DoStart() 16 function DoStart(): void 17 17 { 18 $this->System->RegisterPage( 'shoutbox', 'PageShoutBox');18 $this->System->RegisterPage(['shoutbox'], 'PageShoutBox'); 19 19 $this->System->ModuleManager->Modules['News']->RegisterRSS(array( 20 20 'Title' => T('Shoutbox'), 'Channel' => 'shoutbox', 'Callback' => array('PageShoutBox', 'ShowRSS'), … … 42 42 class PageShoutBox extends Page 43 43 { 44 function Show() 44 function Show(): string 45 45 { 46 46 $this->Title = T('Shoutbox');
Note:
See TracChangeset
for help on using the changeset viewer.