ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
GUI class to create PDF certificates. More...
Public Member Functions | |
__construct (ilCertificateAdapter $adapter, 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, \ILIAS\Filesystem\Filesystem $fileSystem=null) | |
ilCertificateGUI constructor More... | |
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 | |
$certifcateObject | |
$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.
: ilCertificateGUI: ilPropertyFormGUI
Definition at line 34 of file class.ilCertificateGUI.php.
ilCertificateGUI::__construct | ( | ilCertificateAdapter | $adapter, |
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 , |
||
\ILIAS\Filesystem\Filesystem | $fileSystem = null |
||
) |
ilCertificateGUI constructor
ilCertificateAdapter | $adapter | A reference to the test container object |
ilCertificatePlaceholderDescription | $placeholderDescriptionObject | |
ilCertificatePlaceholderValues | $placeholderValuesObject | |
$objectId | ||
$certificatePath | ||
ilCertificateFormRepository | $settingsFormFactory | |
ilCertificateDeleteAction | $deleteAction | |
ilCertificateTemplateRepository | null | $templateRepository | |
ilPageFormats | null | $pageFormats | |
ilXlsFoParser | null | $xlsFoParser | |
ilFormFieldParser | $formFieldParser | |
ilCertificateTemplateExportAction | null | $exportAction | |
ilCertificateBackgroundImageUpload | null | $upload | |
ilCertificateTemplatePreviewAction | null | $previewAction | |
\ILIAS\FileUpload\FileUpload | null | $fileUpload | |
ilSetting | null | $setting | public |
Definition at line 199 of file class.ilCertificateGUI.php.
References $_GET, $certificatePath, $deleteAction, $DIC, $exportAction, $fileSystem, $fileUpload, $formFieldParser, $objectId, $pageFormats, $placeholderDescriptionObject, $placeholderValuesObject, $previewAction, $settings, $settingsFormFactory, $templateRepository, $xlsFoParser, and settings().
ilCertificateGUI::certificateDelete | ( | ) |
Deletes the certificate and all its data.
Definition at line 406 of file class.ilCertificateGUI.php.
ilCertificateGUI::certificateDeleteConfirm | ( | ) |
Deletes the certificate and all its data.
Definition at line 421 of file class.ilCertificateGUI.php.
References $template.
ilCertificateGUI::certificateExportFO | ( | ) |
Exports the certificate.
Definition at line 389 of file class.ilCertificateGUI.php.
ilCertificateGUI::certificateImport | ( | ) |
Import a certificate from a ZIP archive.
Definition at line 368 of file class.ilCertificateGUI.php.
ilCertificateGUI::certificatePreview | ( | ) |
Creates a certificate preview.
Definition at line 376 of file class.ilCertificateGUI.php.
References ilUtil\sendFailure().
ilCertificateGUI::certificateRemoveBackground | ( | ) |
Removes the background image of a certificate.
Definition at line 397 of file class.ilCertificateGUI.php.
ilCertificateGUI::certificateSave | ( | ) |
Saves the certificate.
Definition at line 433 of file class.ilCertificateGUI.php.
References $DIC, $form, and $request.
ilCertificateGUI::certificateUpload | ( | ) |
Uploads the certificate.
Definition at line 456 of file class.ilCertificateGUI.php.
|
private |
ilCertificateTemplate | $certificateTemplate |
Definition at line 676 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().
ilCertificateGUI::executeCommand | ( | ) |
execute command
Definition at line 338 of file class.ilCertificateGUI.php.
References $form, $ret, getCommand(), and getEditorForm().
ilCertificateGUI::getCommand | ( | $cmd | ) |
Retrieves the ilCtrl command.
Definition at line 360 of file class.ilCertificateGUI.php.
Referenced by executeCommand().
|
private |
Definition at line 470 of file class.ilCertificateGUI.php.
References $_POST, $DIC, $form, $result, ilObjUserTracking\_enabledLearningProgress(), ilObject\_lookupType(), ilPropertyFormGUI\checkInput(), createFormatArray(), ilObjCertificateSettingsAccess\getBackgroundImagePath(), ilPropertyFormGUI\getHTML(), ilObjectFactory\getInstanceByObjId(), ilPropertyFormGUI\getItemByPostVar(), GuzzleHttp\Psr7\hash(), ILIAS_VERSION_NUMERIC, ilLPObjSettings\LP_MODE_DEACTIVATED, ILIAS\FileUpload\DTO\ProcessingStatus\OK, ilUtil\sendFailure(), ilUtil\sendInfo(), and ilPropertyFormGUI\setValuesByPost().
Referenced by executeCommand().
|
private |
$content | |
$certificate | |
$form |
Definition at line 662 of file class.ilCertificateGUI.php.
References ilCertificateTemplate\getCertificateContent(), ilPropertyFormGUI\getHTML(), ilCertificateTemplate\isCurrentlyActive(), and ilPropertyFormGUI\setValuesByArray().
|
protected |
Definition at line 92 of file class.ilCertificateGUI.php.
|
private |
Definition at line 147 of file class.ilCertificateGUI.php.
|
protected |
Definition at line 45 of file class.ilCertificateGUI.php.
|
private |
Definition at line 167 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
protected |
Definition at line 52 of file class.ilCertificateGUI.php.
|
private |
Definition at line 137 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
private |
Definition at line 142 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
private |
Definition at line 39 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
private |
Definition at line 162 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
private |
Definition at line 107 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
protected |
Definition at line 66 of file class.ilCertificateGUI.php.
|
protected |
Definition at line 80 of file class.ilCertificateGUI.php.
|
private |
Definition at line 117 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
private |
Definition at line 177 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
private |
Definition at line 112 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
private |
Definition at line 127 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
private |
Definition at line 152 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
protected |
Definition at line 87 of file class.ilCertificateGUI.php.
|
private |
Definition at line 172 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
private |
Definition at line 122 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
private |
Definition at line 102 of file class.ilCertificateGUI.php.
Referenced by __construct().
|
private |
Definition at line 157 of file class.ilCertificateGUI.php.
|
protected |
Definition at line 97 of file class.ilCertificateGUI.php.
|
protected |
Definition at line 73 of file class.ilCertificateGUI.php.
|
protected |
Definition at line 59 of file class.ilCertificateGUI.php.
|
private |
Definition at line 132 of file class.ilCertificateGUI.php.
Referenced by __construct().