Changeset 63 for trunk/Modules/Club
- Timestamp:
- Aug 3, 2021, 11:20:41 AM (3 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 1 nbproject2 Config.php3 1 .settings 4 2 .project 5 3 .buildpath 4 .htaccess
-
- Property svn:ignore
-
trunk/Modules/Club/Club.php
r55 r63 1 1 <?php 2 2 3 class ModuleClub extends AppModule3 class ModuleClub extends Module 4 4 { 5 5 function __construct($System) … … 15 15 } 16 16 17 function Start() 17 function Start(): void 18 18 { 19 $this->System->RegisterPage( 'tancirny', 'PageDanceClub');20 } 19 $this->System->RegisterPage(['tancirny'], 'PageDanceClub'); 20 } 21 21 } 22 22 23 23 class PageClub extends Page 24 { 24 { 25 25 function __construct($System) 26 26 { 27 27 parent::__construct($System); 28 $this->FullTitle = 'Tančírny'; 29 $this->ShortTitle = 'Tančírny'; 28 $this->Title = 'Tančírny'; 30 29 } 31 32 function Show() 30 31 function Show(): string 33 32 { 34 35 33 return 'Dance clubs'; 36 34 }
Note:
See TracChangeset
for help on using the changeset viewer.