/** * constructor */ public function __construct() { parent::__construct(); if (!AccessControl::canAccessNewSupplierPage(Core::getRole())) { die('You do NOT have access to this page'); } }
/** * constructor */ public function __construct() { parent::__construct(); // if(!AccessControl::canAccessPurcahseOrdersPage(Core::getRole())) // die('You do NOT have access to this page'); }