Changeset 888 for trunk/Modules/Dictionary/Dictionary.php
- Timestamp:
- Dec 27, 2022, 7:50:23 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Dictionary/Dictionary.php
r880 r888 1 1 <?php 2 2 3 class ModuleDictionary extends AppModule3 class ModuleDictionary extends Module 4 4 { 5 5 function __construct(System $System) … … 14 14 } 15 15 16 function DoStart() 17 { 18 $this->System->RegisterPage( 'dictionary', 'PageDictionary');19 $this->System->RegisterMenuItem(array(16 function DoStart(): void 17 { 18 $this->System->RegisterPage(['dictionary'], 'PageDictionary'); 19 Core::Cast($this->System)->RegisterMenuItem(array( 20 20 'Name' => 'Dictionary', 21 21 'Title' => T('Dictionary'), … … 311 311 } 312 312 313 function Show() 313 function Show(): string 314 314 { 315 315 global $LanguageList;
Note:
See TracChangeset
for help on using the changeset viewer.