Changeset 887 for trunk/Modules/TimeMeasure/TimeMeasure.php
- Timestamp:
- Nov 20, 2020, 12:08:12 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/TimeMeasure/TimeMeasure.php
r738 r887 7 7 class ModuleTimeMeasure extends AppModule 8 8 { 9 function __construct( $System)9 function __construct(System $System) 10 10 { 11 11 parent::__construct($System); … … 18 18 } 19 19 20 function DoInstall() 20 function DoInstall(): void 21 21 { 22 22 } 23 23 24 function DoUnInstall() 24 function DoUnInstall(): void 25 25 { 26 26 } 27 27 28 function DoStart() 28 function DoStart(): void 29 29 { 30 $this->System->RegisterPage( 'grafy', 'PageMeasure');31 $this->System->RegisterPage( array('grafy', 'graf.png'), 'PageGraph');32 $this->System->RegisterPage( array('grafy', 'add.php'), 'PageMeasureAddValue');30 $this->System->RegisterPage(['grafy'], 'PageMeasure'); 31 $this->System->RegisterPage(['grafy', 'graf.png'], 'PageGraph'); 32 $this->System->RegisterPage(['grafy', 'add.php'], 'PageMeasureAddValue'); 33 33 $this->System->FormManager->RegisterClass('Measure', array( 34 34 'Title' => 'Měření', … … 50 50 } 51 51 52 function DoStop() 52 function DoStop(): void 53 53 { 54 54 }
Note:
See TracChangeset
for help on using the changeset viewer.