ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilCertificateGUI Class Reference

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 ()
 

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 Filesystem $file_system
 
readonly string $certificatePath
 
readonly ilPageFormats $pageFormats
 
readonly ilLogger $logger
 
readonly ilObjCertificateSettings $global_certificate_settings
 
readonly ilDBInterface $database
 

Detailed Description

GUI class to create PDF certificates.

Author
Helmut Schottmüller helmu.nosp@m.t.sc.nosp@m.hottm.nosp@m.uell.nosp@m.er@ma.nosp@m.c.co.nosp@m.m
Version
$Id$ / @ilCtrl_Calls ilCertificateGUI: ilPropertyFormGUI

Definition at line 40 of file class.ilCertificateGUI.php.

Constructor & Destructor Documentation

◆ __construct()

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 71 of file class.ilCertificateGUI.php.

87 {
88 global $DIC;
89
90 $this->httpWrapper = $DIC->http()->wrapper();
91 $this->refinery = $DIC->refinery();
92 $this->lng = $DIC['lng'];
93 $this->tpl = $DIC['tpl'];
94 $this->ctrl = $DIC['ilCtrl'];
95 $this->ilias = $DIC['ilias'];
96
97 $this->irss = $DIC->resourceStorage();
98 $this->stakeholder = new ilCertificateTemplateStakeholder($this->objectId);
99
100 $this->tree = $DIC['tree'];
101 $this->access = $DIC['ilAccess'];
102 $this->toolbar = $DIC['ilToolbar'];
103
104 $this->global_certificate_settings = new ilObjCertificateSettings();
105 $this->lng->loadLanguageModule('certificate');
106 $this->lng->loadLanguageModule('cert');
107 $this->lng->loadLanguageModule('trac');
108
109 $this->ref_id = (int) $DIC->http()->wrapper()->query()->retrieve('ref_id', $DIC->refinery()->kindlyTo()->int());
110
111 $this->logger = $DIC->logger()->cert();
112
113 $this->settingsFormFactory = $settingsFormFactory ?? new ilCertificateSettingsFormRepository(
114 $this->objectId,
116 $this->lng,
117 $this->tpl,
118 $this->ctrl,
119 $this->access,
120 $this->toolbar,
121 $placeholderDescriptionObject,
122 $DIC->ui()->factory(),
123 $DIC->ui()->renderer()
124 );
125 $this->templateRepository = $templateRepository ?? new ilCertificateTemplateDatabaseRepository(
126 $DIC->database(),
127 $this->logger
128 );
129 $this->deleteAction = $deleteAction ?? new ilCertificateTemplateDeleteAction($this->templateRepository);
130 $this->pageFormats = $pageFormats ?? new ilPageFormats($DIC->language());
131 $this->xlsFoParser = $xlsFoParser ?? new ilXlsFoParser($DIC->settings(), $this->pageFormats);
132 $this->exportAction = $exportAction ?? new ilCertificateTemplateExportAction(
133 $this->objectId,
135 $this->templateRepository,
136 $this->irss
137 );
138 $this->previewAction = $previewAction ?? new ilCertificateTemplatePreviewAction(
139 $this->templateRepository,
140 $placeholderValuesObject,
141 $this->irss
142 );
143 $this->fileUpload = $fileUpload ?? $DIC->upload();
144 $this->file_system = $file_system ?? $DIC->filesystem()->web();
145 $this->database = $DIC->database();
146 }
readonly ilXlsFoParser $xlsFoParser
readonly ilCertificateTemplateExportAction $exportAction
readonly ilCertificateTemplateRepository $templateRepository
readonly ilCertificateTemplatePreviewAction $previewAction
readonly ilPageFormats $pageFormats
readonly Filesystem $file_system
readonly string $certificatePath
readonly ilCertificateDeleteAction $deleteAction
readonly FileUpload $fileUpload
readonly ilCertificateFormRepository $settingsFormFactory
Class ilObjCertificateSettings.
Class ilObjForumAdministration.
global $DIC
Definition: shib_login.php:26

References $certificatePath, $deleteAction, $DIC, $exportAction, $file_system, $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:

Member Function Documentation

◆ certificateDelete()

ilCertificateGUI::certificateDelete ( )

Definition at line 212 of file class.ilCertificateGUI.php.

212 : void
213 {
214 // display confirmation message
215 $cgui = new ilConfirmationGUI();
216 $cgui->setFormAction($this->ctrl->getFormAction($this, self::EDITOR_COMMAND));
217 $cgui->setHeaderText($this->lng->txt('certificate_confirm_deletion_text'));
218 $cgui->setCancel($this->lng->txt('no'), self::EDITOR_COMMAND);
219 $cgui->setConfirm($this->lng->txt('yes'), 'certificateDeleteConfirm');
220
221 $this->tpl->setContent($cgui->getHTML());
222 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ certificateDeleteConfirm()

ilCertificateGUI::certificateDeleteConfirm ( )

Deletes the certificate and all its data.

Definition at line 227 of file class.ilCertificateGUI.php.

227 : void
228 {
229 $template = $this->templateRepository->fetchCurrentlyUsedCertificate($this->objectId);
230 $templateId = $template->getId();
231
232 $this->deleteAction->delete($templateId, $this->objectId);
233 $this->ctrl->redirect($this, self::EDITOR_COMMAND);
234 }

References ILIAS\Repository\ctrl().

+ Here is the call graph for this function:

◆ certificateExportFO()

ilCertificateGUI::certificateExportFO ( )

Exports the certificate.

Exceptions
FileAlreadyExistsException
FileNotFoundException
IOException

Definition at line 207 of file class.ilCertificateGUI.php.

207 : void
208 {
209 $this->exportAction->export();
210 }

◆ certificateImport()

ilCertificateGUI::certificateImport ( )

Definition at line 186 of file class.ilCertificateGUI.php.

186 : void
187 {
188 $this->certificateEditor();
189 }

◆ certificatePreview()

ilCertificateGUI::certificatePreview ( )

Definition at line 191 of file class.ilCertificateGUI.php.

191 : void
192 {
193 try {
194 $this->previewAction->createPreviewPdf($this->objectId);
195 } catch (Exception) {
196 $this->tpl->setOnScreenMessage('failure', $this->lng->txt('error_creating_certificate_pdf'));
197 $this->certificateEditor();
198 }
199 }

References ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ certificateSave()

ilCertificateGUI::certificateSave ( )

Saves the certificate.

Exceptions
FileAlreadyExistsException
FileNotFoundException
IOException
ilDatabaseException
ilException
ilWACException

Definition at line 245 of file class.ilCertificateGUI.php.

245 : void
246 {
247 global $DIC;
248
249 $form = $this->settingsFormFactory->createForm(
250 $this
251 );
252
253 $form->setValuesByPost();
254
255 $request = $DIC->http()->request();
256
257 $formFields = $request->getParsedBody();
258
259 $this->tpl->setVariable('ADM_CONTENT', $form->getHTML());
260
261 $this->saveCertificate($form, $formFields, $this->objectId);
262 }
saveCertificate(ilPropertyFormGUI $form, array $form_fields, int $objId)

References $DIC, and saveCertificate().

+ Here is the call graph for this function:

◆ certificateUpload()

ilCertificateGUI::certificateUpload ( )
Exceptions
FileAlreadyExistsException
FileNotFoundException
IOException
ilDatabaseException
ilException
ilObjectNotFoundException
ilWACException

Definition at line 273 of file class.ilCertificateGUI.php.

273 : void
274 {
275 $this->certificateEditor();
276 }

◆ createFormatArray()

ilCertificateGUI::createFormatArray ( ilCertificateTemplate  $certificateTemplate)
private

Definition at line 512 of file class.ilCertificateGUI.php.

512 : array
513 {
514 if ('' === $certificateTemplate->getCertificateHash()) {
515 $format = $this->settings->get('pageformat', '');
516 $formats = $this->pageFormats->fetchPageFormats();
517
518 return [
519 'pageformat' => $format,
520 'pagewidth' => $formats['width'] ?? '',
521 'pageheight' => $formats['height'] ?? '',
522 'margin_body_top' => ilPageFormats::DEFAULT_MARGIN_BODY_TOP,
523 'margin_body_right' => ilPageFormats::DEFAULT_MARGIN_BODY_RIGHT,
524 'margin_body_bottom' => ilPageFormats::DEFAULT_MARGIN_BODY_BOTTOM,
525 'margin_body_left' => ilPageFormats::DEFAULT_MARGIN_BODY_LEFT,
526 'certificate_text' => $certificateTemplate->getCertificateContent()
527 ];
528 }
529
530 return $this->settingsFormFactory->fetchFormFieldData($certificateTemplate->getCertificateContent());
531 }
final const DEFAULT_MARGIN_BODY_RIGHT
final const DEFAULT_MARGIN_BODY_BOTTOM
final const DEFAULT_MARGIN_BODY_TOP
final const DEFAULT_MARGIN_BODY_LEFT

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:

◆ executeCommand()

ilCertificateGUI::executeCommand ( )
Returns
mixed|null
Exceptions
FileAlreadyExistsException
FileNotFoundException
IOException
ilCtrlException
ilDatabaseException
ilException
ilWACException

Definition at line 158 of file class.ilCertificateGUI.php.

159 {
160 $cmd = $this->ctrl->getCmd(self::EDITOR_COMMAND);
161 $next_class = $this->ctrl->getNextClass($this);
162
163 $ret = null;
164
165 $cmd = $this->getCommand($cmd);
166 switch ($next_class) {
167 case 'ilpropertyformgui':
168 $form = $this->getEditorForm();
169 $this->ctrl->forwardCommand($form);
170
171 break;
172 default:
173 $ret = $this->$cmd();
174
175 break;
176 }
177
178 return $ret;
179 }

References ILIAS\Repository\ctrl(), getCommand(), and getEditorForm().

+ Here is the call graph for this function:

◆ getCommand()

ilCertificateGUI::getCommand (   $cmd)

Definition at line 181 of file class.ilCertificateGUI.php.

182 {
183 return $cmd;
184 }

Referenced by executeCommand().

+ Here is the caller graph for this function:

◆ getEditorForm()

ilCertificateGUI::getEditorForm ( )
private
Exceptions
FileAlreadyExistsException
FileNotFoundException
IOException
ilDatabaseException
ilException
ilWACException

Definition at line 328 of file class.ilCertificateGUI.php.

329 {
330 $certificateTemplate = $this->templateRepository->fetchCurrentlyUsedCertificate($this->objectId);
331
332 $form = $this->settingsFormFactory->createForm(
333 $this
334 );
335
336 $formFields = $this->createFormatArray($certificateTemplate);
337
338 $formFields['active'] = $certificateTemplate->isCurrentlyActive();
339
340 $form->setValuesByArray($formFields);
341
342 return $form;
343 }
createFormatArray(ilCertificateTemplate $certificateTemplate)
This class represents a property form user interface.

References createFormatArray().

Referenced by executeCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ saveCertificate()

ilCertificateGUI::saveCertificate ( ilPropertyFormGUI  $form,
array  $form_fields,
int  $objId 
)
private

Definition at line 345 of file class.ilCertificateGUI.php.

345 : void
346 {
347 $certificate_handler = new CertificateResourceHandler(
350 $this->irss,
351 $this->global_certificate_settings,
352 $this->stakeholder,
353 );
354 $current_template = $this->templateRepository->fetchPreviousCertificate($objId);
355 $currentVersion = $current_template->getVersion();
356 $nextVersion = $currentVersion + 1;
357 $current_background_rid = $this->irss->manageContainer()->find(
358 $current_template->getBackgroundImageIdentification()
359 );
360 $current_tile_image_rid = $this->irss->manageContainer()->find(
361 $current_template->getTileImageIdentification()
362 );
363 $old_background_image = $current_background_rid === null
364 ? $current_template->getBackgroundImagePath() :
365 '';
366 $old_tile_image = $current_tile_image_rid === null
367 ? $current_template->getTileImagePath() :
368 '';
369
370 $should_delete_background =
371 $this->httpWrapper->post()->retrieve(
372 'background_delete',
373 $this->refinery->byTrying([
374 $this->refinery->kindlyTo()->bool(),
375 $this->refinery->always(false)
376 ])
377 );
378 $should_delete_tile_image =
379 $this->httpWrapper->post()->retrieve(
380 'certificate_card_tile_image_delete',
381 $this->refinery->byTrying([
382 $this->refinery->kindlyTo()->bool(),
383 $this->refinery->always(false)
384 ])
385 );
386
387 $new_background_rid = $current_background_rid && !$should_delete_background ? $current_background_rid :
388 $this->global_certificate_settings->getBackgroundImageIdentification();
389 if (
390 is_string($new_background_rid) &&
391 is_string($this->global_certificate_settings->getBackgroundImageIdentification()) &&
392 $new_background_rid === $this->global_certificate_settings->getBackgroundImageIdentification()
393 ) {
394 if ($this->file_system->has($new_background_rid)) {
395 $new_background_rid = $this->irss->manage()->stream(
396 $this->file_system->readStream($new_background_rid),
397 $this->stakeholder
398 );
399 } else {
400 $old_background_image = $new_background_rid;
401 $new_background_rid = null;
402 }
403 }
404
405 $new_tile_rid = !$should_delete_tile_image ? $current_tile_image_rid : null;
406 if ($form->checkInput()) {
407 try {
408 $this->settingsFormFactory->save($form_fields);
409
410 $templateValues = $this->placeholderDescriptionObject->getPlaceholderDescriptions();
411
412 if ($this->fileUpload->hasUploads()) {
413 if (!$this->fileUpload->hasBeenProcessed()) {
414 $this->fileUpload->process();
415 }
416 $new_background = $form->getInput('background')['tmp_name'] ?? '';
417 $new_tile_image = $form->getInput('certificate_card_tile_image')['tmp_name'] ?? '';
418 $results = $this->fileUpload->getResults();
419
420 if ($new_background !== '') {
421 $new_background_rid = $this->irss->manage()->upload(
422 $results[$new_background],
423 $this->stakeholder
424 );
425 }
426
427 if ($new_tile_image !== '') {
428 $new_tile_rid = $this->irss->manage()->upload(
429 $results[$new_tile_image],
430 $this->stakeholder
431 );
432 }
433 }
434
435 $jsonEncodedTemplateValues = json_encode($templateValues, JSON_THROW_ON_ERROR);
436
437 if (isset($new_background_rid)) {
438 $old_background_image = '';
439 }
440 if (isset($new_tile_rid)) {
441 $old_tile_image = '';
442 }
443
444 $xslfo = $this->xlsFoParser->parse($form_fields);
445 $newHashValue = hash(
446 'sha256',
447 implode('', [
448 $xslfo,
449 isset($new_background_rid) ? $new_background_rid->serialize() : '',
450 $jsonEncodedTemplateValues,
451 isset($new_tile_rid) ? $new_background_rid->serialize() : '',
452 $old_background_image, $old_tile_image
453 ])
454 );
455
456 $active = (bool) ($form_fields['active'] ?? false);
457
458 if ($newHashValue !== $current_template->getCertificateHash()) {
459 $certificateTemplate = new ilCertificateTemplate(
460 $objId,
462 $xslfo,
463 $newHashValue,
464 $jsonEncodedTemplateValues,
465 $nextVersion,
467 time(),
468 $active,
469 $old_background_image,
470 $old_tile_image,
471 isset($new_background_rid) ? $new_background_rid->serialize() : '',
472 isset($new_tile_rid) ? $new_tile_rid->serialize() : '',
473 );
474 $this->templateRepository->save($certificateTemplate);
475
476 if ($current_background_rid instanceof ResourceIdentification) {
477 $certificate_handler->handleResourceChange($current_background_rid);
478 }
479 if ($current_tile_image_rid instanceof ResourceIdentification) {
480 $certificate_handler->handleResourceChange($current_tile_image_rid);
481 }
482
483 $this->tpl->setOnScreenMessage('success', $this->lng->txt('saved_successfully'), true);
484 $this->ctrl->redirect($this, self::EDITOR_COMMAND);
485 }
486
487 if (
488 $current_template->getId() !== null &&
489 $current_template->isCurrentlyActive() !== $active
490 ) {
491 $this->templateRepository->updateActivity($current_template, $active);
492 $this->tpl->setOnScreenMessage('info', $this->lng->txt('certificate_change_active_status'), true);
493 $this->ctrl->redirect($this, self::EDITOR_COMMAND);
494 }
495
496 $this->tpl->setOnScreenMessage('info', $this->lng->txt('certificate_same_not_saved'), true);
497 $this->ctrl->redirect($this, self::EDITOR_COMMAND);
498 } catch (Exception $e) {
499 $this->tpl->setOnScreenMessage(
500 'failure',
501 $e->getMessage()
502 );
503 $this->logger->error($e->getTraceAsString());
504 }
505 }
506
507 $form->setValuesByPost();
508
509 $this->tpl->setVariable('ADM_CONTENT', $form->getHTML());
510 }
static _lookupType(int $id, bool $reference=false)
getInput(string $a_post_var, bool $ensureValidation=true)
Returns the input of an item, if item provides getInput method and as fallback the value of the HTTP-...
const ILIAS_VERSION_NUMERIC
$results
$objId
Definition: xapitoken.php:57

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:

Field Documentation

◆ $access

ilAccessHandler ilCertificateGUI::$access
protected

Definition at line 50 of file class.ilCertificateGUI.php.

◆ $certificate_repo

ilCertificateTemplateDatabaseRepository ilCertificateGUI::$certificate_repo
private

Definition at line 56 of file class.ilCertificateGUI.php.

◆ $certificatePath

readonly string ilCertificateGUI::$certificatePath
private

Definition at line 65 of file class.ilCertificateGUI.php.

Referenced by __construct().

◆ $ctrl

ilCtrlInterface ilCertificateGUI::$ctrl
protected

Definition at line 44 of file class.ilCertificateGUI.php.

◆ $database

readonly ilDBInterface ilCertificateGUI::$database
private

Definition at line 69 of file class.ilCertificateGUI.php.

◆ $deleteAction

readonly ilCertificateDeleteAction ilCertificateGUI::$deleteAction
private

Definition at line 60 of file class.ilCertificateGUI.php.

Referenced by __construct().

◆ $exportAction

readonly ilCertificateTemplateExportAction ilCertificateGUI::$exportAction
private

Definition at line 61 of file class.ilCertificateGUI.php.

Referenced by __construct().

◆ $file_system

readonly Filesystem ilCertificateGUI::$file_system
private

Definition at line 64 of file class.ilCertificateGUI.php.

Referenced by __construct().

◆ $fileUpload

readonly FileUpload ilCertificateGUI::$fileUpload
private

Definition at line 63 of file class.ilCertificateGUI.php.

Referenced by __construct().

◆ $global_certificate_settings

readonly ilObjCertificateSettings ilCertificateGUI::$global_certificate_settings
private

Definition at line 68 of file class.ilCertificateGUI.php.

◆ $httpWrapper

readonly WrapperFactory ilCertificateGUI::$httpWrapper
private

Definition at line 52 of file class.ilCertificateGUI.php.

◆ $ilias

ILIAS ilCertificateGUI::$ilias
protected

Definition at line 46 of file class.ilCertificateGUI.php.

◆ $irss

IRSS ilCertificateGUI::$irss
private

Definition at line 54 of file class.ilCertificateGUI.php.

◆ $lng

ilLanguage ilCertificateGUI::$lng
protected

Definition at line 48 of file class.ilCertificateGUI.php.

◆ $logger

readonly ilLogger ilCertificateGUI::$logger
private

Definition at line 67 of file class.ilCertificateGUI.php.

◆ $pageFormats

readonly ilPageFormats ilCertificateGUI::$pageFormats
private

Definition at line 66 of file class.ilCertificateGUI.php.

Referenced by __construct().

◆ $previewAction

readonly ilCertificateTemplatePreviewAction ilCertificateGUI::$previewAction
private

Definition at line 62 of file class.ilCertificateGUI.php.

Referenced by __construct().

◆ $ref_id

int ilCertificateGUI::$ref_id
protected

Definition at line 49 of file class.ilCertificateGUI.php.

◆ $refinery

readonly Factory ilCertificateGUI::$refinery
private

Definition at line 53 of file class.ilCertificateGUI.php.

◆ $settingsFormFactory

readonly ilCertificateFormRepository ilCertificateGUI::$settingsFormFactory
private

Definition at line 58 of file class.ilCertificateGUI.php.

Referenced by __construct().

◆ $stakeholder

ilCertificateTemplateStakeholder ilCertificateGUI::$stakeholder
private

Definition at line 55 of file class.ilCertificateGUI.php.

◆ $templateRepository

readonly ilCertificateTemplateRepository ilCertificateGUI::$templateRepository
private

Definition at line 57 of file class.ilCertificateGUI.php.

Referenced by __construct().

◆ $toolbar

ilToolbarGUI ilCertificateGUI::$toolbar
protected

Definition at line 51 of file class.ilCertificateGUI.php.

◆ $tpl

ilGlobalPageTemplate ilCertificateGUI::$tpl
protected

Definition at line 47 of file class.ilCertificateGUI.php.

◆ $tree

ilTree ilCertificateGUI::$tree
protected

Definition at line 45 of file class.ilCertificateGUI.php.

◆ $xlsFoParser

readonly ilXlsFoParser ilCertificateGUI::$xlsFoParser
private

Definition at line 59 of file class.ilCertificateGUI.php.

Referenced by __construct().

◆ EDITOR_COMMAND

const string ilCertificateGUI::EDITOR_COMMAND = 'certificateEditor'

Definition at line 42 of file class.ilCertificateGUI.php.


The documentation for this class was generated from the following file: