Changeset 888 for trunk/Modules/Download/Download.php
- Timestamp:
- Dec 27, 2022, 7:50:23 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Download/Download.php
r880 r888 1 1 <?php 2 2 3 class ModuleDownload extends AppModule3 class ModuleDownload 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( 'download', 'PageDownload');19 $this->System->RegisterMenuItem(array(18 $this->System->RegisterPage(['download'], 'PageDownload'); 19 Core::Cast($this->System)->RegisterMenuItem(array( 20 20 'Title' => T('Download'), 21 21 'Hint' => T('List of files for download'), … … 147 147 } 148 148 149 function Show() 149 function Show(): string 150 150 { 151 151 $this->Title = T('Download');
Note:
See TracChangeset
for help on using the changeset viewer.