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