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