|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
GUI class to create PDF certificates. More...
Collaboration diagram for ilCertificateGUI: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 $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 () | |
Data Fields | |
| const string | EDITOR_COMMAND = 'certificateEditor' |
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 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 | $tmp_file_system = null |
||
| ) |
Definition at line 70 of file class.ilCertificateGUI.php.
References $certificatePath, $deleteAction, $DIC, $exportAction, $fileUpload, $pageFormats, $previewAction, $settingsFormFactory, $templateRepository, $xlsFoParser, 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().
Here is the call graph for this function:| ilCertificateGUI::certificateDelete | ( | ) |
Definition at line 209 of file class.ilCertificateGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilCertificateGUI::certificateDeleteConfirm | ( | ) |
Deletes the certificate and all its data.
Definition at line 224 of file class.ilCertificateGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilCertificateGUI::certificateExportFO | ( | ) |
Exports the certificate.
| FileAlreadyExistsException | |
| FileNotFoundException | |
| IOException |
Definition at line 204 of file class.ilCertificateGUI.php.
| ilCertificateGUI::certificateImport | ( | ) |
Definition at line 183 of file class.ilCertificateGUI.php.
| ilCertificateGUI::certificatePreview | ( | ) |
Definition at line 188 of file class.ilCertificateGUI.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:| ilCertificateGUI::certificateSave | ( | ) |
Saves the certificate.
| FileAlreadyExistsException | |
| FileNotFoundException | |
| IOException | |
| ilDatabaseException | |
| ilException | |
| ilWACException |
Definition at line 242 of file class.ilCertificateGUI.php.
References $DIC, and saveCertificate().
Here is the call graph for this function:| ilCertificateGUI::certificateUpload | ( | ) |
| FileAlreadyExistsException | |
| FileNotFoundException | |
| IOException | |
| ilDatabaseException | |
| ilException | |
| ilObjectNotFoundException | |
| ilWACException |
Definition at line 270 of file class.ilCertificateGUI.php.
|
private |
Definition at line 478 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().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCertificateGUI::executeCommand | ( | ) |
| FileAlreadyExistsException | |
| FileNotFoundException | |
| IOException | |
| ilCtrlException | |
| ilDatabaseException | |
| ilException | |
| ilWACException |
Definition at line 155 of file class.ilCertificateGUI.php.
References ILIAS\Repository\ctrl(), getCommand(), and getEditorForm().
Here is the call graph for this function:| ilCertificateGUI::getCommand | ( | $cmd | ) |
Definition at line 178 of file class.ilCertificateGUI.php.
Referenced by executeCommand().
Here is the caller graph for this function:
|
private |
| FileAlreadyExistsException | |
| FileNotFoundException | |
| IOException | |
| ilDatabaseException | |
| ilException | |
| ilWACException |
Definition at line 325 of file class.ilCertificateGUI.php.
References createFormatArray().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 342 of file class.ilCertificateGUI.php.
References Vendor\Package\$e, $objId, $results, ilObject\_lookupType(), ilPropertyFormGUI\checkInput(), ILIAS\Repository\ctrl(), ILIAS\Repository\database(), ilPropertyFormGUI\getHTML(), ilPropertyFormGUI\getInput(), ILIAS_VERSION_NUMERIC, ILIAS\Repository\lng(), ILIAS\Repository\logger(), ILIAS\Repository\refinery(), and ilPropertyFormGUI\setValuesByPost().
Referenced by certificateSave().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 50 of file class.ilCertificateGUI.php.
|
private |
Definition at line 56 of file class.ilCertificateGUI.php.
|
private |
Definition at line 64 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
protected |
Definition at line 44 of file class.ilCertificateGUI.php.
|
private |
Definition at line 68 of file class.ilCertificateGUI.php.
|
private |
Definition at line 60 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
private |
Definition at line 61 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
private |
Definition at line 63 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
private |
Definition at line 67 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 54 of file class.ilCertificateGUI.php.
|
protected |
Definition at line 48 of file class.ilCertificateGUI.php.
|
private |
Definition at line 66 of file class.ilCertificateGUI.php.
|
private |
Definition at line 65 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
private |
Definition at line 62 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
protected |
Definition at line 49 of file class.ilCertificateGUI.php.
|
private |
Definition at line 53 of file class.ilCertificateGUI.php.
|
private |
Definition at line 58 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
private |
Definition at line 55 of file class.ilCertificateGUI.php.
|
private |
Definition at line 57 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
protected |
Definition at line 51 of file class.ilCertificateGUI.php.
|
protected |
Definition at line 47 of file class.ilCertificateGUI.php.
|
protected |
Definition at line 45 of file class.ilCertificateGUI.php.
|
private |
Definition at line 59 of file class.ilCertificateGUI.php.
Referenced by __construct().
| const string ilCertificateGUI::EDITOR_COMMAND = 'certificateEditor' |
Definition at line 42 of file class.ilCertificateGUI.php.