|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
GUI class to create PDF certificates. More...
Collaboration diagram for ilCertificateGUI:Public Member Functions | |
| __construct (ilCertificatePlaceholderDescription $placeholderDescriptionObject, ilCertificatePlaceholderValues $placeholderValuesObject, $objectId, $certificatePath, ilCertificateFormRepository $settingsFormFactory=null, ilCertificateDeleteAction $deleteAction=null, ilCertificateTemplateRepository $templateRepository=null, ilPageFormats $pageFormats=null, ilXlsFoParser $xlsFoParser=null, ilFormFieldParser $formFieldParser=null, ilCertificateTemplateExportAction $exportAction=null, ilCertificateBackgroundImageUpload $upload=null, ilCertificateTemplatePreviewAction $previewAction=null, \ILIAS\FileUpload\FileUpload $fileUpload=null, ilSetting $settings=null, ilCertificateBackgroundImageDelete $backgroundImageDelete=null, \ILIAS\Filesystem\Filesystem $fileSystem=null, ilCertificateBackgroundImageFileService $imageFileService=null, \ILIAS\Filesystem\Filesystem $tmp_file_system=null) | |
| executeCommand () | |
| execute command More... | |
| getCommand ($cmd) | |
| Retrieves the ilCtrl command. More... | |
| certificateImport () | |
| Import a certificate from a ZIP archive. More... | |
| certificatePreview () | |
| Creates a certificate preview. More... | |
| certificateExportFO () | |
| Exports the certificate. More... | |
| certificateRemoveBackground () | |
| Removes the background image of a certificate. More... | |
| certificateDelete () | |
| Deletes the certificate and all its data. More... | |
| certificateDeleteConfirm () | |
| Deletes the certificate and all its data. More... | |
| certificateSave () | |
| Saves the certificate. More... | |
| certificateUpload () | |
| Uploads the certificate. More... | |
Protected Attributes | |
| $ctrl | |
| $tree | |
| $ilias | |
| $tpl | |
| $lng | |
| $ref_id | |
| $access | |
| $toolbar | |
Private Member Functions | |
| getEditorForm () | |
| setTemplateContent (ilCertificateTemplate $certificate, ilPropertyFormGUI $form) | |
| createFormatArray (ilCertificateTemplate $certificateTemplate) | |
GUI class to create PDF certificates.
@ilCtrl_Calls: ilCertificateGUI: ilPropertyFormGUI
Definition at line 32 of file class.ilCertificateGUI.php.
| ilCertificateGUI::__construct | ( | ilCertificatePlaceholderDescription | $placeholderDescriptionObject, |
| ilCertificatePlaceholderValues | $placeholderValuesObject, | ||
| $objectId, | |||
| $certificatePath, | |||
| ilCertificateFormRepository | $settingsFormFactory = null, |
||
| ilCertificateDeleteAction | $deleteAction = null, |
||
| ilCertificateTemplateRepository | $templateRepository = null, |
||
| ilPageFormats | $pageFormats = null, |
||
| ilXlsFoParser | $xlsFoParser = null, |
||
| ilFormFieldParser | $formFieldParser = null, |
||
| ilCertificateTemplateExportAction | $exportAction = null, |
||
| ilCertificateBackgroundImageUpload | $upload = null, |
||
| ilCertificateTemplatePreviewAction | $previewAction = null, |
||
| \ILIAS\FileUpload\FileUpload | $fileUpload = null, |
||
| ilSetting | $settings = null, |
||
| ilCertificateBackgroundImageDelete | $backgroundImageDelete = null, |
||
| \ILIAS\Filesystem\Filesystem | $fileSystem = null, |
||
| ilCertificateBackgroundImageFileService | $imageFileService = null, |
||
| \ILIAS\Filesystem\Filesystem | $tmp_file_system = null |
||
| ) |
Definition at line 179 of file class.ilCertificateGUI.php.
References $_GET, $backgroundImageDelete, $certificatePath, $deleteAction, $DIC, $exportAction, $fileSystem, $fileUpload, $formFieldParser, $objectId, $pageFormats, $placeholderDescriptionObject, $placeholderValuesObject, $previewAction, $settings, $settingsFormFactory, $templateRepository, $tmp_file_system, $xlsFoParser, and settings().
Here is the call graph for this function:| ilCertificateGUI::certificateDelete | ( | ) |
Deletes the certificate and all its data.
Definition at line 398 of file class.ilCertificateGUI.php.
| ilCertificateGUI::certificateDeleteConfirm | ( | ) |
Deletes the certificate and all its data.
Definition at line 413 of file class.ilCertificateGUI.php.
| ilCertificateGUI::certificateExportFO | ( | ) |
Exports the certificate.
Definition at line 381 of file class.ilCertificateGUI.php.
| ilCertificateGUI::certificateImport | ( | ) |
Import a certificate from a ZIP archive.
Definition at line 360 of file class.ilCertificateGUI.php.
| ilCertificateGUI::certificatePreview | ( | ) |
Creates a certificate preview.
Definition at line 368 of file class.ilCertificateGUI.php.
References ilUtil\sendFailure().
Here is the call graph for this function:| ilCertificateGUI::certificateRemoveBackground | ( | ) |
Removes the background image of a certificate.
Definition at line 389 of file class.ilCertificateGUI.php.
| ilCertificateGUI::certificateSave | ( | ) |
Saves the certificate.
Definition at line 425 of file class.ilCertificateGUI.php.
References $DIC.
| ilCertificateGUI::certificateUpload | ( | ) |
Uploads the certificate.
Definition at line 447 of file class.ilCertificateGUI.php.
|
private |
| ilCertificateTemplate | $certificateTemplate |
Definition at line 678 of file class.ilCertificateGUI.php.
References $format, $formats, 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 settings().
Referenced by getEditorForm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCertificateGUI::executeCommand | ( | ) |
execute command
Definition at line 330 of file class.ilCertificateGUI.php.
References $ret, getCommand(), and getEditorForm().
Here is the call graph for this function:| ilCertificateGUI::getCommand | ( | $cmd | ) |
Retrieves the ilCtrl command.
Definition at line 352 of file class.ilCertificateGUI.php.
Referenced by executeCommand().
Here is the caller graph for this function:
|
private |
ILIAS\Filesystem\Exception\FileAlreadyExistsException
ILIAS\Filesystem\Exception\FileNotFoundException
ILIAS\Filesystem\Exception\IOException
| ilDatabaseException | |
| ilException | |
| ilWACException |
Definition at line 461 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 |
| $content | |
| $certificate | |
| $form |
Definition at line 664 of file class.ilCertificateGUI.php.
References ilCertificateTemplate\getCertificateContent(), ilPropertyFormGUI\getHTML(), ilCertificateTemplate\isCurrentlyActive(), and ilPropertyFormGUI\setValuesByArray().
Here is the call graph for this function:
|
protected |
Definition at line 89 of file class.ilCertificateGUI.php.
|
private |
Definition at line 37 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
private |
Definition at line 144 of file class.ilCertificateGUI.php.
|
private |
Definition at line 164 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
protected |
Definition at line 49 of file class.ilCertificateGUI.php.
|
private |
Definition at line 134 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
private |
Definition at line 139 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
private |
Definition at line 42 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
private |
Definition at line 159 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
private |
Definition at line 104 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
protected |
Definition at line 63 of file class.ilCertificateGUI.php.
|
protected |
Definition at line 77 of file class.ilCertificateGUI.php.
|
private |
Definition at line 114 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
private |
Definition at line 174 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
private |
Definition at line 109 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
private |
Definition at line 124 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
private |
Definition at line 149 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
protected |
Definition at line 84 of file class.ilCertificateGUI.php.
|
private |
Definition at line 169 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
private |
Definition at line 119 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
private |
Definition at line 99 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
private |
Definition at line 154 of file class.ilCertificateGUI.php.
|
private |
Definition at line 177 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
protected |
Definition at line 94 of file class.ilCertificateGUI.php.
|
protected |
Definition at line 70 of file class.ilCertificateGUI.php.
|
protected |
Definition at line 56 of file class.ilCertificateGUI.php.
|
private |
Definition at line 129 of file class.ilCertificateGUI.php.
Referenced by __construct().