| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
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 $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\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 210 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 225 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 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().
 Here is the call graph for this function:| ilCertificateGUI::certificateSave | ( | ) | 
Saves the certificate.
| FileAlreadyExistsException | |
| FileNotFoundException | |
| IOException | |
| ilDatabaseException | |
| ilException | |
| ilWACException | 
Definition at line 243 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 271 of file class.ilCertificateGUI.php.
References $DIC, $renderer, ilObjUserTracking\_enabledLearningProgress(), getEditorForm(), ilObjectFactory\getInstanceByObjId(), ILIAS\Repository\lng(), and ilLPObjSettings\LP_MODE_DEACTIVATED.
 Here is the call graph for this function:
      
  | 
  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().
 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 156 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 179 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 326 of file class.ilCertificateGUI.php.
References createFormatArray().
Referenced by certificateUpload(), and executeCommand().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 343 of file class.ilCertificateGUI.php.
References Vendor\Package\$e, $results, $stakeholder, ilObject\_lookupType(), ilPropertyFormGUI\checkInput(), ILIAS\Repository\ctrl(), 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 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.