System); if($this->System->Modules['Permission']->Check('HomePage', 'Show')) { $View = new HomePageView($this->System); return($Page->GetOutput($View->Welcome())); } else return($Page->AccessDenied()); } function Info() { $Page = new PageView($this->System); if($this->System->Modules['Permission']->Check('HomePage', 'Info')) { $View = new HomePageView($this->System); return($Page->GetOutput($View->Info())); } else return($Page->AccessDenied()); } function State() { $Page = new PageView($this->System); if($this->System->Modules['Permission']->Check('HomePage', 'State')) { $View = new HomePageView($this->System); return($Page->GetOutput($View->State())); } else return($Page->AccessDenied()); } }