|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Collaboration diagram for ilUserCertificateZip:Public Member Functions | |
| __construct (private readonly int $objectId, private readonly string $certificatePath, private readonly string $webDirectory=CLIENT_WEB_DIR, private readonly string $installionId=IL_INST_ID) | |
| createArchiveDirectory () | |
| addPDFtoArchiveDirectory (string $pdfdata, string $dir, string $filename) | |
| Adds PDF data as a file to a given directory. More... | |
| zipCertificatesInArchiveDirectory (string $dir, bool $deliver=true) | |
Private Attributes | |
| readonly string | $typeInFileName |
| bool | $files_added_to_archive = false |
Definition at line 24 of file class.ilUserCertificateZip.php.
| ilUserCertificateZip::__construct | ( | private readonly int | $objectId, |
| private readonly string | $certificatePath, | ||
| private readonly string | $webDirectory = CLIENT_WEB_DIR, |
||
| private readonly string | $installionId = IL_INST_ID |
||
| ) |
Definition at line 29 of file class.ilUserCertificateZip.php.
References $typeInFileName, and ilObject\_lookupType().
Here is the call graph for this function:| ilUserCertificateZip::addPDFtoArchiveDirectory | ( | string | $pdfdata, |
| string | $dir, | ||
| string | $filename | ||
| ) |
Adds PDF data as a file to a given directory.
| string | $pdfdata | Binary PDF data |
| string | $dir | Directory to contain the PDF data |
| string | $filename | The filename to save the PDF data |
Definition at line 70 of file class.ilUserCertificateZip.php.
| ilUserCertificateZip::createArchiveDirectory | ( | ) |
Definition at line 53 of file class.ilUserCertificateZip.php.
References ilObject\_lookupType(), and ilFileUtils\makeDirParents().
Referenced by ilTestEvaluationGUI\exportCertificateArchive().
Here is the call graph for this function:
Here is the caller graph for this function:| ilUserCertificateZip::zipCertificatesInArchiveDirectory | ( | string | $dir, |
| bool | $deliver = true |
||
| ) |
Definition at line 81 of file class.ilUserCertificateZip.php.
References ilFileUtils\delDir(), ilFileDelivery\deliverFileLegacy(), and ilFileUtils\zip().
Here is the call graph for this function:
|
private |
Definition at line 27 of file class.ilUserCertificateZip.php.
|
private |
Definition at line 26 of file class.ilUserCertificateZip.php.
Referenced by __construct().