ILIAS  release_8 Revision v8.24
class.ilCertificateSettingsStudyProgrammeFormRepository.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
24
26{
31
32 public function __construct(
34 string $certificatePath,
35 bool $hasAdditionalElements,
37 ilCtrlInterface $ctrl,
38 ilAccess $access,
39 ilToolbarGUI $toolbar,
40 ilCertificatePlaceholderDescription $placeholderDescriptionObject,
42 ?ilSetting $setting = null
43 ) {
44 $this->object = $object;
45 $this->language = $language;
46
47 if (null === $settingsFormRepository) {
49 $object->getId(),
50 $certificatePath,
51 $hasAdditionalElements,
53 $ctrl,
54 $access,
55 $toolbar,
56 $placeholderDescriptionObject
57 );
58 }
59
60 $this->settingsFormRepository = $settingsFormRepository;
61 if (null === $setting) {
62 $setting = new ilSetting('prg');
63 }
64 $this->setting = $setting;
65 }
66
77 public function createForm(ilCertificateGUI $certificateGUI): ilPropertyFormGUI
78 {
79 return $this->settingsFormRepository->createForm($certificateGUI);
80 }
81
82 public function save(array $formFields): void
83 {
84 }
85
86 public function fetchFormFieldData(string $content): array
87 {
88 return $this->settingsFormRepository->fetchFormFieldData($content);
89 }
90}
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(ilObject $object, string $certificatePath, bool $hasAdditionalElements, ilLanguage $language, ilCtrlInterface $ctrl, ilAccess $access, ilToolbarGUI $toolbar, ilCertificatePlaceholderDescription $placeholderDescriptionObject, ?ilCertificateSettingsFormRepository $settingsFormRepository=null, ?ilSetting $setting=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...