| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
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, ?ilCertificateBackgroundImageUpload $upload=null, ?ilCertificateTemplatePreviewAction $previewAction=null, ?FileUpload $fileUpload=null, private readonly ilSetting $settings=new ilSetting('certificate'), ?ilCertificateBackgroundImageDelete $backgroundImageDelete=null, ?Filesystem $fileSystem=null, ?ilCertificateBackgroundImageFileService $imageFileService=null, ?Filesystem $tmp_file_system=null) | |
| executeCommand () | |
| getCommand ($cmd) | |
| certificateImport () | |
| certificatePreview () | |
| certificateExportFO () | |
| Exports the certificate.  More... | |
| certificateRemoveBackground () | |
| 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 () | |
| createFormatArray (ilCertificateTemplate $certificateTemplate) | |
Private Attributes | |
| readonly ilCertificateBackgroundImageDelete | $backgroundImageDelete | 
| readonly Filesystem | $fileSystem | 
| readonly WrapperFactory | $httpWrapper | 
| readonly Factory | $refinery | 
| readonly ilCertificateTemplateRepository | $templateRepository | 
| readonly ilCertificateFormRepository | $settingsFormFactory | 
| readonly ilXlsFoParser | $xlsFoParser | 
| readonly ilCertificateDeleteAction | $deleteAction | 
| readonly ilCertificateTemplateExportAction | $exportAction | 
| readonly ilCertificateBackgroundImageUpload | $backgroundImageUpload | 
| readonly ilCertificateTemplatePreviewAction | $previewAction | 
| readonly FileUpload | $fileUpload | 
| readonly string | $certificatePath | 
| readonly ilPageFormats | $pageFormats | 
| readonly Filesystem | $tmp_file_system | 
| readonly ilLogger | $logger | 
| readonly ilObjCertificateSettings | $global_certificate_settings | 
GUI class to create PDF certificates.
ilCertificateGUI: ilPropertyFormGUI
Definition at line 38 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,  | 
        ||
| ?ilCertificateBackgroundImageUpload | $upload = null,  | 
        ||
| ?ilCertificateTemplatePreviewAction | $previewAction = null,  | 
        ||
| ?FileUpload | $fileUpload = null,  | 
        ||
| private readonly ilSetting | $settings = new ilSetting('certificate'),  | 
        ||
| ?ilCertificateBackgroundImageDelete | $backgroundImageDelete = null,  | 
        ||
| ?Filesystem | $fileSystem = null,  | 
        ||
| ?ilCertificateBackgroundImageFileService | $imageFileService = null,  | 
        ||
| ?Filesystem | $tmp_file_system = null  | 
        ||
| ) | 
Definition at line 66 of file class.ilCertificateGUI.php.
References $certificatePath, $DIC, $logger, $pageFormats, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), 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 234 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 249 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 214 of file class.ilCertificateGUI.php.
| ilCertificateGUI::certificateImport | ( | ) | 
Definition at line 193 of file class.ilCertificateGUI.php.
| ilCertificateGUI::certificatePreview | ( | ) | 
Definition at line 198 of file class.ilCertificateGUI.php.
References ILIAS\Repository\lng().
 Here is the call graph for this function:| ilCertificateGUI::certificateRemoveBackground | ( | ) | 
| FileAlreadyExistsException | |
| FileNotFoundException | |
| IOException | |
| ilDatabaseException | |
| ilException | |
| ilObjectNotFoundException | |
| ilWACException | 
Definition at line 228 of file class.ilCertificateGUI.php.
| ilCertificateGUI::certificateSave | ( | ) | 
Saves the certificate.
| FileAlreadyExistsException | |
| FileNotFoundException | |
| IOException | |
| ilDatabaseException | |
| ilException | |
| ilWACException | 
Definition at line 267 of file class.ilCertificateGUI.php.
References $DIC.
| ilCertificateGUI::certificateUpload | ( | ) | 
| FileAlreadyExistsException | |
| FileNotFoundException | |
| IOException | |
| ilDatabaseException | |
| ilException | |
| ilObjectNotFoundException | |
| ilWACException | 
Definition at line 295 of file class.ilCertificateGUI.php.
      
  | 
  private | 
Definition at line 523 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 167 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 188 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 308 of file class.ilCertificateGUI.php.
References $DIC, Vendor\Package\$e, $objId, ilObjUserTracking\_enabledLearningProgress(), ilObject\_lookupType(), ilPropertyFormGUI\checkInput(), createFormatArray(), ILIAS\Repository\ctrl(), ilPropertyFormGUI\getHTML(), ilPropertyFormGUI\getInput(), ilObjectFactory\getInstanceByObjId(), ilPropertyFormGUI\getItemByPostVar(), ILIAS_VERSION_NUMERIC, ILIAS\Repository\lng(), ILIAS\Repository\logger(), ilLPObjSettings\LP_MODE_DEACTIVATED, ILIAS\Repository\refinery(), and ilPropertyFormGUI\setValuesByPost().
Referenced by executeCommand().
 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 40 of file class.ilCertificateGUI.php.
      
  | 
  private | 
Definition at line 57 of file class.ilCertificateGUI.php.
      
  | 
  private | 
Definition at line 60 of file class.ilCertificateGUI.php.
Referenced by __construct().
      
  | 
  protected | 
Definition at line 44 of file class.ilCertificateGUI.php.
      
  | 
  private | 
Definition at line 55 of file class.ilCertificateGUI.php.
      
  | 
  private | 
Definition at line 56 of file class.ilCertificateGUI.php.
      
  | 
  private | 
Definition at line 41 of file class.ilCertificateGUI.php.
      
  | 
  private | 
Definition at line 59 of file class.ilCertificateGUI.php.
      
  | 
  private | 
Definition at line 64 of file class.ilCertificateGUI.php.
      
  | 
  private | 
Definition at line 42 of file class.ilCertificateGUI.php.
      
  | 
  protected | 
Definition at line 46 of file class.ilCertificateGUI.php.
      
  | 
  protected | 
Definition at line 48 of file class.ilCertificateGUI.php.
      
  | 
  private | 
Definition at line 63 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 58 of file class.ilCertificateGUI.php.
      
  | 
  protected | 
Definition at line 49 of file class.ilCertificateGUI.php.
      
  | 
  private | 
Definition at line 43 of file class.ilCertificateGUI.php.
      
  | 
  private | 
Definition at line 53 of file class.ilCertificateGUI.php.
      
  | 
  private | 
Definition at line 52 of file class.ilCertificateGUI.php.
      
  | 
  private | 
Definition at line 62 of file class.ilCertificateGUI.php.
      
  | 
  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 54 of file class.ilCertificateGUI.php.