Changeset 888 for trunk/Modules/Referrer/Referrer.php
- Timestamp:
- Dec 27, 2022, 7:50:23 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Referrer/Referrer.php
r880 r888 1 1 <?php 2 2 3 class ModuleReferrer extends AppModule3 class ModuleReferrer extends Module 4 4 { 5 5 var $Excludes; … … 18 18 } 19 19 20 function DoStart() 20 function DoStart(): void 21 21 { 22 22 $this->Excludes[] = $this->System->Config['Web']['Host']; 23 23 $this->Log(); 24 $this->System->RegisterPage( 'referrer', 'PageReferrer');25 $this->System->RegisterMenuItem(array(24 $this->System->RegisterPage(['referrer'], 'PageReferrer'); 25 Core::Cast($this->System)->RegisterMenuItem(array( 26 26 'Title' => T('Promotion'), 27 27 'Hint' => 'Informace k propagaci tohoto projektu', … … 246 246 } 247 247 248 function Show() 248 function Show(): string 249 249 { 250 250 $this->Title = T('Promotion');
Note:
See TracChangeset
for help on using the changeset viewer.