ILIAS  release_8 Revision v8.24
class.ilCertificateSettingsExerciseRepository.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
24
29{
33
34 public function __construct(
36 string $certificatePath,
37 bool $hasAdditionalElements,
39 ilCtrlInterface $ctrl,
40 ilAccessHandler $access,
41 ilToolbarGUI $toolbar,
42 ilCertificatePlaceholderDescription $placeholderDescriptionObject,
44 ) {
45 $this->object = $object;
46 $this->language = $language;
47
48 if (null === $settingsFormFactory) {
50 $object->getId(),
51 $certificatePath,
52 $hasAdditionalElements,
54 $ctrl,
55 $access,
56 $toolbar,
57 $placeholderDescriptionObject
58 );
59 }
60
61 $this->settingsFormFactory = $settingsFormFactory;
62 }
63
74 public function createForm(ilCertificateGUI $certificateGUI): ilPropertyFormGUI
75 {
76 return $this->settingsFormFactory->createForm($certificateGUI);
77 }
78
79 public function save(array $formFields): void
80 {
81 }
82
83 public function fetchFormFieldData(string $content): array
84 {
85 return $this->settingsFormFactory->fetchFormFieldData($content);
86 }
87}
GUI class to create PDF certificates.
__construct(ilObject $object, string $certificatePath, bool $hasAdditionalElements, ilLanguage $language, ilCtrlInterface $ctrl, ilAccessHandler $access, ilToolbarGUI $toolbar, ilCertificatePlaceholderDescription $placeholderDescriptionObject, ?ilCertificateSettingsFormRepository $settingsFormFactory=null)
language handling
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This class represents a property form user interface.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...