public function IsAuthenticated() { return Configuration::Instance()->GetSectionKey(ConfigSection::PRIVACY, ConfigKeys::PRIVACY_VIEW_RESERVATIONS, new BooleanConverter()) || parent::IsAuthenticated(); }
public function __construct(Page $page) { $this->page = $page; if (!$this->page->IsAuthenticated()) { $this->RedirectResume($this->GetResumeUrl()); die; } }