classes/handler/Handler.inc.php

00001 <?php
00002 
00016 import('handler.PKPHandler');
00017 import('handler.validation.HandlerValidatorConference');
00018 import('handler.validation.HandlerValidatorSchedConf');
00019 import('handler.validation.HandlerValidatorRoles');
00020 import('handler.validation.HandlerValidatorSubmissionComment');
00021 
00022 class Handler extends PKPHandler {
00023    function Handler() {
00024       parent::PKPHandler();
00025 
00026       $conference =& Request::getConference();
00027       $page = Request::getRequestedPage();
00028       if ( $conference && $conference->getSetting('restrictSiteAccess')) { 
00029          $this->addCheck(new HandlerValidatorCustom($this, true, null, null, create_function('$page', 'if (!Validation::isLoggedIn() && !in_array($page, Handler::getLoginExemptions())) return false; else return true;'), array($page)));
00030       }
00031    }
00032 }
00033 
00034 ?>

Generated on 25 Jul 2013 for Open Conference Systems by  doxygen 1.4.7