ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Public Member Functions | |
__construct (int $objectId, string $certificatePath, string $webDirectory=CLIENT_WEB_DIR, string $installationId=IL_INST_ID) | |
createArchiveDirectory () | |
Creates a directory for a zip archive containing multiple certificates. More... | |
addPDFtoArchiveDirectory ($pdfdata, $dir, $filename) | |
Adds PDF data as a file to a given directory. More... | |
zipCertificatesInArchiveDirectory ($dir, $deliver=true) | |
Create a ZIP file from a directory with certificates. More... | |
Private Attributes | |
$objectId | |
$webDirectory | |
$certificatePath | |
$typeInFileName | |
$installionId | |
Definition at line 7 of file class.ilUserCertificateZip.php.
ilUserCertificateZip::__construct | ( | int | $objectId, |
string | $certificatePath, | ||
string | $webDirectory = CLIENT_WEB_DIR , |
||
string | $installationId = IL_INST_ID |
||
) |
Definition at line 35 of file class.ilUserCertificateZip.php.
References $certificatePath, $objectId, $typeInFileName, $webDirectory, and ilObject\_lookupType().
ilUserCertificateZip::addPDFtoArchiveDirectory | ( | $pdfdata, | |
$dir, | |||
$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 87 of file class.ilUserCertificateZip.php.
References $filename.
ilUserCertificateZip::createArchiveDirectory | ( | ) |
Creates a directory for a zip archive containing multiple certificates.
Definition at line 69 of file class.ilUserCertificateZip.php.
References $objectId, $type, ilObject\_lookupType(), and ilUtil\makeDirParents().
Referenced by ilTestEvaluationGUI\exportCertificate().
ilUserCertificateZip::zipCertificatesInArchiveDirectory | ( | $dir, | |
$deliver = true |
|||
) |
Create a ZIP file from a directory with certificates.
string | $dir | Directory containing the certificates |
boolean | $deliver | TRUE to deliver the ZIP file, FALSE to return the filename only |
Definition at line 101 of file class.ilUserCertificateZip.php.
References ilUtil\delDir(), ilUtil\deliverFile(), and ilUtil\zip().
|
private |
Definition at line 23 of file class.ilUserCertificateZip.php.
Referenced by __construct().
|
private |
Definition at line 33 of file class.ilUserCertificateZip.php.
|
private |
Definition at line 13 of file class.ilUserCertificateZip.php.
Referenced by __construct(), and createArchiveDirectory().
|
private |
Definition at line 28 of file class.ilUserCertificateZip.php.
Referenced by __construct().
|
private |
Definition at line 18 of file class.ilUserCertificateZip.php.
Referenced by __construct().