Changeset 63 for trunk/Modules/Movie
- 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/Movie/Movie.php
r56 r63 1 1 <?php 2 2 3 class ModuleMovie extends AppModule3 class ModuleMovie 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( 'filmy', 'PageMovieList');20 $this->System->RegisterMenuItem('/filmy', 'Filmy');19 $this->System->RegisterPage(['filmy'], 'PageMovieList'); 20 Core::Cast($this->System)->RegisterMenuItem('/filmy', 'Filmy'); 21 21 } 22 22 } … … 27 27 { 28 28 parent::__construct($System); 29 $this-> FullTitle = 'Taneční filmy';30 $this-> ShortTitle = 'Filmy';29 $this->Title = 'Filmy'; 30 $this->Description = 'Taneční filmy'; 31 31 } 32 32 33 function Show() 33 function Show(): string 34 34 { 35 35 $Output = ''; 36 $this->Title = 'Filmy - '.$this->Title;37 36 if (array_key_exists('lvm', $_GET) and ($_GET['lvm'] == 'seznam')) 38 37 $this->RawPage = true;
Note:
See TracChangeset
for help on using the changeset viewer.