◆ __construct()
- Parameters
-
Definition at line 40 of file class.ilPdfGenerator.php.
References $logger, and $rpcHelper.
46 $this->certificateRepository = $userCertificateRepository;
49 if (null === $rpcHelper) {
54 if (null === $pdfFileNameFactory) {
57 $this->pdfFilenameFactory = $pdfFileNameFactory;
◆ createPDFScalar()
◆ generate()
ilPdfGenerator::generate |
( |
int |
$userCertificateId | ) |
|
- Parameters
-
- Returns
- mixed
- Exceptions
-
Definition at line 65 of file class.ilPdfGenerator.php.
References $certificate, and createPDFScalar().
67 $certificate = $this->certificateRepository->fetchCertificate($userCertificateId);
if(@file_exists(dirname(__FILE__).'/lang/eng.php')) $certificate
createPDFScalar(ilUserCertificate $certificate)
◆ generateCurrentActiveCertificate()
ilPdfGenerator::generateCurrentActiveCertificate |
( |
int |
$userId, |
|
|
int |
$objId |
|
) |
| |
- Parameters
-
- Returns
- mixed
- Exceptions
-
Definition at line 78 of file class.ilPdfGenerator.php.
References $certificate, and createPDFScalar().
80 $certificate = $this->certificateRepository->fetchActiveCertificate($userId, $objId);
if(@file_exists(dirname(__FILE__).'/lang/eng.php')) $certificate
createPDFScalar(ilUserCertificate $certificate)
◆ generateFileName()
ilPdfGenerator::generateFileName |
( |
int |
$userId, |
|
|
int |
$objId |
|
) |
| |
◆ $certificateRepository
ilPdfGenerator::$certificateRepository |
|
private |
◆ $logger
◆ $pdfFilenameFactory
ilPdfGenerator::$pdfFilenameFactory |
|
private |
◆ $rpcHelper
ilPdfGenerator::$rpcHelper |
|
private |
◆ $scormPdfFilename
ilPdfGenerator::$scormPdfFilename |
|
private |
The documentation for this class was generated from the following file: