56 $this->fileService->deliverCertificate((
int) $userId, (
int) $objectId);
59 throw new ilException($this->language->txt(
'permission_denied'));
An exception for terminatinating execution or to throw for unit testing.
Base class for ILIAS Exception handling.
downloadFromPortfolioPage(ilPortfolioPage $a_page, int $objectId, int $userId)
__construct(\ILIAS\DI\Container $dic=null, ilPortfolioCertificateFileService $fileService=null, ilLanguage $language=null)
static isInPortfolioPage(ilPortfolioPage $a_page, $a_type, $a_id)