ILIAS  release_8 Revision v8.24
class.ilCertificateSettingsTestFormRepository.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
24
29{
33
34 public function __construct(
35 int $objectId,
36 string $certificatePath,
37 bool $hasAdditionalElements,
40 ilCtrlInterface $ctrl,
41 ilAccess $access,
42 ilToolbarGUI $toolbar,
43 ilCertificatePlaceholderDescription $placeholderDescriptionObject,
44 ?ilCertificateSettingsFormRepository $settingsFormRepository = null
45 ) {
46 $this->testObject = $testObject;
47 $this->language = $language;
48
49 if (null === $settingsFormRepository) {
50 $settingsFormRepository = new ilCertificateSettingsFormRepository(
51 $objectId,
52 $certificatePath,
53 $hasAdditionalElements,
55 $ctrl,
56 $access,
57 $toolbar,
58 $placeholderDescriptionObject
59 );
60 }
61 $this->settingsFormFactory = $settingsFormRepository;
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}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
GUI class to create PDF certificates.
__construct(int $objectId, string $certificatePath, bool $hasAdditionalElements, ilObjTest $testObject, ilLanguage $language, ilCtrlInterface $ctrl, ilAccess $access, ilToolbarGUI $toolbar, ilCertificatePlaceholderDescription $placeholderDescriptionObject, ?ilCertificateSettingsFormRepository $settingsFormRepository=null)
language handling
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...