ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
GUI class to create PDF certificates. More...
Public Member Functions | |
__construct (private readonly ilCertificatePlaceholderDescription $placeholderDescriptionObject, ilCertificatePlaceholderValues $placeholderValuesObject, private readonly int $objectId, string $certificatePath, ?ilCertificateFormRepository $settingsFormFactory=null, ?ilCertificateDeleteAction $deleteAction=null, ?ilCertificateTemplateRepository $templateRepository=null, ?ilPageFormats $pageFormats=null, ?ilXlsFoParser $xlsFoParser=null, ?ilCertificateTemplateExportAction $exportAction=null, ?ilCertificateTemplatePreviewAction $previewAction=null, ?FileUpload $fileUpload=null, private readonly ilSetting $settings=new ilSetting('certificate'), ?Filesystem $file_system=null, ?Filesystem $tmp_file_system=null) | |
executeCommand () | |
getCommand ($cmd) | |
certificateImport () | |
certificatePreview () | |
certificateExportFO () | |
Exports the certificate. More... | |
certificateDelete () | |
certificateDeleteConfirm () | |
Deletes the certificate and all its data. More... | |
certificateSave () | |
Saves the certificate. More... | |
certificateUpload () | |
Protected Attributes | |
ilCtrlInterface | $ctrl |
ilTree | $tree |
ILIAS | $ilias |
ilGlobalPageTemplate | $tpl |
ilLanguage | $lng |
int | $ref_id |
ilAccessHandler | $access |
ilToolbarGUI | $toolbar |
Private Member Functions | |
getEditorForm () | |
saveCertificate (ilPropertyFormGUI $form, array $form_fields, int $objId) | |
createFormatArray (ilCertificateTemplate $certificateTemplate) | |
Private Attributes | |
readonly WrapperFactory | $httpWrapper |
readonly Factory | $refinery |
IRSS | $irss |
ilCertificateTemplateStakeholder | $stakeholder |
ilCertificateTemplateDatabaseRepository | $certificate_repo |
readonly ilCertificateTemplateRepository | $templateRepository |
readonly ilCertificateFormRepository | $settingsFormFactory |
readonly ilXlsFoParser | $xlsFoParser |
readonly ilCertificateDeleteAction | $deleteAction |
readonly ilCertificateTemplateExportAction | $exportAction |
readonly ilCertificateTemplatePreviewAction | $previewAction |
readonly FileUpload | $fileUpload |
readonly Filesystem | $file_system |
readonly string | $certificatePath |
readonly ilPageFormats | $pageFormats |
readonly ilLogger | $logger |
readonly ilObjCertificateSettings | $global_certificate_settings |
readonly ilDBInterface | $database |
GUI class to create PDF certificates.
Definition at line 40 of file class.ilCertificateGUI.php.
ilCertificateGUI::__construct | ( | private readonly ilCertificatePlaceholderDescription | $placeholderDescriptionObject, |
ilCertificatePlaceholderValues | $placeholderValuesObject, | ||
private readonly int | $objectId, | ||
string | $certificatePath, | ||
?ilCertificateFormRepository | $settingsFormFactory = null , |
||
?ilCertificateDeleteAction | $deleteAction = null , |
||
?ilCertificateTemplateRepository | $templateRepository = null , |
||
?ilPageFormats | $pageFormats = null , |
||
?ilXlsFoParser | $xlsFoParser = null , |
||
?ilCertificateTemplateExportAction | $exportAction = null , |
||
?ilCertificateTemplatePreviewAction | $previewAction = null , |
||
?FileUpload | $fileUpload = null , |
||
private readonly ilSetting | $settings = new ilSetting('certificate') , |
||
?Filesystem | $file_system = null , |
||
?Filesystem | $tmp_file_system = null |
||
) |
Definition at line 69 of file class.ilCertificateGUI.php.
References $DIC, $logger, $pageFormats, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Repository\database(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), ILIAS\Repository\refinery(), and ILIAS\Repository\toolbar().
ilCertificateGUI::certificateDelete | ( | ) |
Definition at line 210 of file class.ilCertificateGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
ilCertificateGUI::certificateDeleteConfirm | ( | ) |
Deletes the certificate and all its data.
Definition at line 225 of file class.ilCertificateGUI.php.
References ILIAS\Repository\ctrl().
ilCertificateGUI::certificateExportFO | ( | ) |
Exports the certificate.
FileAlreadyExistsException | |
FileNotFoundException | |
IOException |
Definition at line 205 of file class.ilCertificateGUI.php.
ilCertificateGUI::certificateImport | ( | ) |
Definition at line 184 of file class.ilCertificateGUI.php.
ilCertificateGUI::certificatePreview | ( | ) |
Definition at line 189 of file class.ilCertificateGUI.php.
References ILIAS\Repository\lng().
ilCertificateGUI::certificateSave | ( | ) |
Saves the certificate.
FileAlreadyExistsException | |
FileNotFoundException | |
IOException | |
ilDatabaseException | |
ilException | |
ilWACException |
Definition at line 243 of file class.ilCertificateGUI.php.
References $DIC, and saveCertificate().
ilCertificateGUI::certificateUpload | ( | ) |
FileAlreadyExistsException | |
FileNotFoundException | |
IOException | |
ilDatabaseException | |
ilException | |
ilObjectNotFoundException | |
ilWACException |
Definition at line 271 of file class.ilCertificateGUI.php.
References $DIC, $renderer, ilObjUserTracking\_enabledLearningProgress(), getEditorForm(), ilObjectFactory\getInstanceByObjId(), ILIAS\Repository\lng(), and ilLPObjSettings\LP_MODE_DEACTIVATED.
|
private |
Definition at line 510 of file class.ilCertificateGUI.php.
References ilPageFormats\DEFAULT_MARGIN_BODY_BOTTOM, ilPageFormats\DEFAULT_MARGIN_BODY_LEFT, ilPageFormats\DEFAULT_MARGIN_BODY_RIGHT, ilPageFormats\DEFAULT_MARGIN_BODY_TOP, ilCertificateTemplate\getCertificateContent(), ilCertificateTemplate\getCertificateHash(), and ILIAS\Repository\settings().
Referenced by getEditorForm().
ilCertificateGUI::executeCommand | ( | ) |
FileAlreadyExistsException | |
FileNotFoundException | |
IOException | |
ilCtrlException | |
ilDatabaseException | |
ilException | |
ilWACException |
Definition at line 156 of file class.ilCertificateGUI.php.
References ILIAS\Repository\ctrl(), getCommand(), getEditorForm(), and null.
ilCertificateGUI::getCommand | ( | $cmd | ) |
Definition at line 179 of file class.ilCertificateGUI.php.
Referenced by executeCommand().
|
private |
FileAlreadyExistsException | |
FileNotFoundException | |
IOException | |
ilDatabaseException | |
ilException | |
ilWACException |
Definition at line 326 of file class.ilCertificateGUI.php.
References createFormatArray().
Referenced by certificateUpload(), and executeCommand().
|
private |
Definition at line 343 of file class.ilCertificateGUI.php.
References Vendor\Package\$e, $results, $stakeholder, ilObject\_lookupType(), ilPropertyFormGUI\checkInput(), ILIAS\Repository\ctrl(), ILIAS\Repository\database(), ilPropertyFormGUI\getHTML(), ilPropertyFormGUI\getInput(), ILIAS_VERSION_NUMERIC, ILIAS\Repository\lng(), ILIAS\Repository\logger(), null, ILIAS\Repository\refinery(), and ilPropertyFormGUI\setValuesByPost().
Referenced by certificateSave().
|
protected |
Definition at line 48 of file class.ilCertificateGUI.php.
|
private |
Definition at line 54 of file class.ilCertificateGUI.php.
|
private |
Definition at line 63 of file class.ilCertificateGUI.php.
|
protected |
Definition at line 42 of file class.ilCertificateGUI.php.
|
private |
Definition at line 67 of file class.ilCertificateGUI.php.
|
private |
Definition at line 58 of file class.ilCertificateGUI.php.
|
private |
Definition at line 59 of file class.ilCertificateGUI.php.
|
private |
Definition at line 62 of file class.ilCertificateGUI.php.
|
private |
Definition at line 61 of file class.ilCertificateGUI.php.
|
private |
Definition at line 66 of file class.ilCertificateGUI.php.
|
private |
Definition at line 50 of file class.ilCertificateGUI.php.
|
protected |
Definition at line 44 of file class.ilCertificateGUI.php.
|
private |
Definition at line 52 of file class.ilCertificateGUI.php.
|
protected |
Definition at line 46 of file class.ilCertificateGUI.php.
|
private |
Definition at line 65 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
private |
Definition at line 64 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
private |
Definition at line 60 of file class.ilCertificateGUI.php.
|
protected |
Definition at line 47 of file class.ilCertificateGUI.php.
|
private |
Definition at line 51 of file class.ilCertificateGUI.php.
|
private |
Definition at line 56 of file class.ilCertificateGUI.php.
|
private |
Definition at line 53 of file class.ilCertificateGUI.php.
Referenced by saveCertificate().
|
private |
Definition at line 55 of file class.ilCertificateGUI.php.
|
protected |
Definition at line 49 of file class.ilCertificateGUI.php.
|
protected |
Definition at line 45 of file class.ilCertificateGUI.php.
|
protected |
Definition at line 43 of file class.ilCertificateGUI.php.
|
private |
Definition at line 57 of file class.ilCertificateGUI.php.