Changeset 896 for trunk/Modules/Portal
- Timestamp:
- Jan 14, 2021, 7:38:26 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Portal/Portal.php
r895 r896 43 43 function DoStart(): void 44 44 { 45 $this->System->RegisterPage([''], 'PagePortal');45 Core::Cast($this->System)->RegisterPage([''], 'PagePortal'); 46 46 $this->System->FormManager->RegisterClass('MemberOptions', array( 47 47 'Title' => 'Nastavení zákazníka', … … 59 59 ), 60 60 )); 61 ModuleUser::Cast( $this->System->GetModule('User'))->UserPanel[] = array('PagePortal', 'UserPanel');61 ModuleUser::Cast(Core::Cast($this->System)->GetModule('User'))->UserPanel[] = array('PagePortal', 'UserPanel'); 62 62 } 63 63 } … … 102 102 while ($Action = $DbResult->fetch_assoc()) 103 103 { 104 $Output .= $this->System->ShowAction($Action['Id']).'<br/>';104 $Output .= ModuleSystem::Cast($this->System->GetModule('System'))->ShowAction($Action['Id']).'<br/>'; 105 105 } 106 106 return $this->Panel($ActionGroup['Name'], $Output);
Note:
See TracChangeset
for help on using the changeset viewer.