コード例 #1
0
 /**
  * constructor
  */
 public function __construct()
 {
     parent::__construct();
     if (!AccessControl::canAccessProductsPage(Core::getRole())) {
         die('You do NOT have access to this page');
     }
 }
コード例 #2
0
 /**
  * constructor
  */
 public function __construct()
 {
     if (!AccessControl::canAccessPriceMatchPage(Core::getRole())) {
         die('You have no access to this page!');
     }
     parent::__construct();
 }
コード例 #3
0
 /**
  * constructor
  */
 public function __construct()
 {
     if (!AccessControl::canAccessUsersPage(Core::getRole())) {
         die(BPCPageAbstract::show404Page('Access Denied', 'You have no access to this page!'));
     }
     parent::__construct();
 }