ILIAS
trunk Revision v11.0_alpha-1769-g99a433fe2dc
|
Public Member Functions | |
__construct (private readonly int $objectId, private readonly string $certificatePath, private readonly string $webDirectory=CLIENT_WEB_DIR, private readonly string $installationId=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 26 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 | $installationId = IL_INST_ID |
||
) |
Definition at line 31 of file class.ilUserCertificateZip.php.
References $typeInFileName, and ilObject\_lookupType().
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 73 of file class.ilUserCertificateZip.php.
ilUserCertificateZip::createArchiveDirectory | ( | ) |
Definition at line 55 of file class.ilUserCertificateZip.php.
References ilObject\_lookupType(), and ilFileUtils\makeDirParents().
ilUserCertificateZip::zipCertificatesInArchiveDirectory | ( | string | $dir, |
bool | $deliver = true |
||
) |
IOException |
Definition at line 84 of file class.ilUserCertificateZip.php.
References ilFileUtils\delDir(), ilFileDelivery\deliverFileLegacy(), and ilFileUtils\zip().
|
private |
Definition at line 29 of file class.ilUserCertificateZip.php.
|
private |
Definition at line 28 of file class.ilUserCertificateZip.php.
Referenced by __construct().