Changeset 888 for trunk/Modules/ClientVersion/ClientVersion.php
- Timestamp:
- Dec 27, 2022, 7:50:23 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/ClientVersion/ClientVersion.php
r880 r888 1 1 <?php 2 2 3 class ModuleClientVersion extends AppModule3 class ModuleClientVersion 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( 'client-version', 'PageClientVersion');19 $this->System->RegisterMenuItem(array(18 $this->System->RegisterPage(['client-version'], 'PageClientVersion'); 19 Core::Cast($this->System)->RegisterMenuItem(array( 20 20 'Title' => T('Game version'), 21 21 'Hint' => T('List of the game client versions'), … … 29 29 class PageClientVersion extends Page 30 30 { 31 function Show() 31 function Show(): string 32 32 { 33 33 if (array_key_exists('action', $_GET))
Note:
See TracChangeset
for help on using the changeset viewer.