function getResourceActionsByUser($idUser, $moduleId) { global $arrConf, $elxPath; require_once "{$elxPath}/libs/paloSantoACL.class.php"; $pdbACL = new paloDB($arrConf['elastix_dsn']['elastix']); $pACL = new paloACL($pdbACL); return $pACL->getResourceActionsByUser($idUser, $moduleId); }