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

Certificate Settings. More...

+ Inheritance diagram for ilObjCertificateSettingsGUI:
+ Collaboration diagram for ilObjCertificateSettingsGUI:

Public Member Functions

 __construct ( $data, int $id=0, bool $call_by_reference=true, bool $prepare_output=true, ?ilUserCertificateRepository $user_certificate_repo=null, ?ilCertificateActiveValidator $certificate_active_validator=null,)
 
 executeCommand ()
 
 getAdminTabs ()
 administration tabs show only permissions and trash folder More...
 
 settings ()
 
 certificatesOverview ()
 
 downloadCertificate ()
 
 save ()
 
- Public Member Functions inherited from ilObjectGUI
 getRefId ()
 
 setAdminMode (string $mode)
 
 getAdminMode ()
 
 getObject ()
 
 executeCommand ()
 
 withReferences ()
 determines whether objects are referenced or not (got ref ids or not) More...
 
 setCreationMode (bool $mode=true)
 If true, a creation screen is displayed the current [ref_id] does belong to the parent class The mode is determined in ilRepositoryGUI. More...
 
 getCreationMode ()
 
 prepareOutput (bool $show_sub_objects=true)
 
 getAdminTabs ()
 administration tabs show only permissions and trash folder More...
 
 getHTML ()
 
 confirmedDeleteObject ()
 confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled More...
 
 cancelObject ()
 cancel action and go back to previous page More...
 
 createObject ()
 create new object form More...
 
 editAvailabilityPeriodObject ()
 
 saveAvailabilityPeriodObject ()
 
 cancelCreation ()
 cancel create action and go back to repository parent More...
 
 saveObject ()
 
 getDidacticTemplateVar (string $type)
 Get didactic template setting from creation screen. More...
 
 putObjectInTree (ilObject $obj, ?int $parent_node_id=null)
 Add object to tree at given position. More...
 
 editObject ()
 
 addExternalEditFormCustom (ilPropertyFormGUI $form)
 
 updateObject ()
 updates object entry in object_data More...
 
 getFormAction (string $cmd, string $default_form_action="")
 Get form action for command (command is method name without "Object", e.g. More...
 
 isVisible (int $ref_id, string $type)
 
 viewObject ()
 viewObject container presentation for "administration -> repository, trash, permissions" More...
 
 deleteObject (bool $error=false)
 Display deletion confirmation screen. More...
 
 setColumnSettings (ilColumnGUI $column_gui)
 
 addToDeskObject ()
 
 removeFromDeskObject ()
 
- Public Member Functions inherited from ILIAS\Object\ImplementsCreationCallback
 callCreationCallback (\ilObject $object, \ilObjectDefinition $obj_definition, int $requested_crtcb)
 

Data Fields

const TAB_CERTIFICATES = 'certificates'
 
const CMD_CERTIFICATES_OVERVIEW = 'certificatesOverview'
 
const CMD_DOWNLOAD_CERTIFICATE = 'downloadCertificate'
 
- Data Fields inherited from ilObjectGUI
const ADMIN_MODE_NONE = ""
 
const ADMIN_MODE_SETTINGS = "settings"
 
const ADMIN_MODE_REPOSITORY = "repository"
 
const UPLOAD_TYPE_LOCAL = 1
 
const UPLOAD_TYPE_UPLOAD_DIRECTORY = 2
 
const CFORM_NEW = 1
 
const CFORM_IMPORT = 2
 
const CFORM_CLONE = 3
 
const SUPPORTED_IMPORT_MIME_TYPES = [MimeType::APPLICATION__ZIP, MimeType::APPLICATION__X_ZIP_COMPRESSED]
 

Protected Attributes

ILIAS HTTP GlobalHttpState $httpState
 
ILIAS FileUpload FileUpload $upload
 
ilObject $object
 
- Protected Attributes inherited from ilObjectGUI
ILIAS Notes Service $notes_service
 
GlobalHttpState $http
 
ServerRequestInterface $request
 
ilLocatorGUI $locator
 
ilObjUser $user
 
ilAccessHandler $access
 
ilSetting $settings
 
ilToolbarGUI $toolbar
 
ilRbacAdmin $rbac_admin
 
ilRbacSystem $rbac_system
 
ilRbacReview $rbac_review
 
ilObjectService $object_service
 
ilObjectDefinition $obj_definition
 
ilGlobalTemplateInterface $tpl
 
ilTree $tree
 
ilCtrl $ctrl
 
ilErrorHandling $error
 
ilLanguage $lng
 
ilTabsGUI $tabs_gui
 
ILIAS $ilias
 
ArrayBasedRequestWrapper $post_wrapper
 
RequestWrapper $request_wrapper
 
Refinery $refinery
 
ilFavouritesManager $favourites
 
CustomIconFactory $custom_icon_factory
 
UIFactory $ui_factory
 
UIRenderer $ui_renderer
 
Filesystem $temp_file_system
 
ilObject $object = null
 
bool $creation_mode = false
 
 $data
 
int $id
 
bool $call_by_reference = false
 
bool $prepare_output
 
int $ref_id
 
int $obj_id
 
int $maxcount
 
array $form_action = []
 
array $return_location = []
 
array $target_frame = []
 
string $tmp_import_dir
 
string $sub_objects = ""
 
bool $omit_locator = false
 
string $type = ""
 
string $admin_mode = self::ADMIN_MODE_NONE
 
int $requested_ref_id = 0
 
int $requested_crtptrefid = 0
 
int $requested_crtcb = 0
 
string $requested_new_type = ""
 
string $link_params
 
string $html = ""
 

Private Attributes

IRSS $irss
 
readonly ilLogger $logger
 
readonly ilUserCertificateRepository $user_certificate_repo
 
readonly ilCertificateActiveValidator $certificate_active_validator
 

Additional Inherited Members

- Static Public Member Functions inherited from ilObjectGUI
static _gotoRepositoryRoot (bool $raise_error=false)
 Goto repository root. More...
 
static _gotoRepositoryNode (int $ref_id, string $cmd="")
 
static _gotoSharedWorkspaceNode (int $wsp_id)
 
- Protected Member Functions inherited from ilObjectGUI
 getObjectService ()
 
 assignObject ()
 
 setTitleAndDescription ()
 
 createActionDispatcherGUI ()
 
 initHeaderAction (?string $sub_type=null, ?int $sub_id=null)
 Add header action menu. More...
 
 insertHeaderAction (?ilObjectListGUI $list_gui=null)
 Insert header action into main template. More...
 
 addHeaderAction ()
 Add header action menu. More...
 
 redrawHeaderActionObject ()
 Ajax call: redraw action header only. More...
 
 setTabs ()
 set admin tabs More...
 
 setAdminTabs ()
 set admin tabs More...
 
 setLocator ()
 
 addLocatorItems ()
 should be overwritten to add object specific items (repository items are preloaded) More...
 
 omitLocator (bool $omit=true)
 
 addAdminLocatorItems (bool $do_not_add_object=false)
 should be overwritten to add object specific items (repository items are preloaded) More...
 
 getCreationFormsHTML (StandardForm|ilPropertyFormGUI|array $form)
 
 getTitleForCreationFormPage ()
 
 getCreationFormTitle ()
 
 initCreateForm (string $new_type)
 
 didacticTemplatesToForm ()
 
 initDidacticTemplate (ilPropertyFormGUI $form)
 
 retrieveAdditionalDidacticTemplateOptions ()
 
 addAdoptContentLinkToToolbar ()
 
 addImportButtonToToolbar ()
 
 addAvailabilityPeriodButtonToToolbar (ilToolbarGUI $toolbar)
 
 parseDidacticTemplateVar (string $var, string $type)
 
 afterSave (ilObject $new_object)
 Post (successful) object creation hook. More...
 
 initEditForm ()
 
 initEditCustomForm (ilPropertyFormGUI $a_form)
 Add custom fields to update form. More...
 
 getEditFormValues ()
 
 getEditFormCustomValues (array &$a_values)
 Add values to custom edit fields. More...
 
 validateCustom (ilPropertyFormGUI $form)
 Validate custom values (if not possible with checkInput()) More...
 
 updateCustom (ilPropertyFormGUI $form)
 Insert custom update form values into object. More...
 
 afterUpdate ()
 Post (successful) object update hook. More...
 
 routeImportCmdObject ()
 
 importFile (string $file_to_import, string $path_to_uploaded_file_in_temp_dir)
 
 deleteUploadedImportFile (string $path_to_uploaded_file_in_temp_dir)
 
 afterImport (ilObject $new_object)
 Post (successful) object import hook. More...
 
 setFormAction (string $cmd, string $form_action)
 
 getReturnLocation (string $cmd, string $default_location="")
 Get return location for command (command is method name without "Object", e.g. More...
 
 setReturnLocation (string $cmd, string $location)
 set specific return location for command More...
 
 getTargetFrame (string $cmd, string $default_target_frame="")
 get target frame for command (command is method name without "Object", e.g. More...
 
 setTargetFrame (string $cmd, string $target_frame)
 Set specific target frame for command. More...
 
 showPossibleSubObjects ()
 show possible sub objects (pull down menu) More...
 
 getTabs ()
 @abstract overwrite in derived GUI class of your object type More...
 
 redirectToRefId (int $ref_id, string $cmd="")
 redirects to (repository) view per ref id usually to a container and usually used at the end of a save/import method where the object gui type (of the new object) doesn't match with the type of the current ["ref_id"] value of the request More...
 
 getCenterColumnHTML ()
 Get center column. More...
 
 getRightColumnHTML ()
 Display right column. More...
 
 checkPermission (string $perm, string $cmd="", string $type="", ?int $ref_id=null)
 
 checkPermissionBool (string $perm, string $cmd="", string $type="", ?int $ref_id=null)
 
 enableDragDropFileUpload ()
 Enables the file upload into this object by dropping files. More...
 
 getCreatableObjectTypes ()
 
 buildAddNewItemElements (array $subtypes, string $create_target_class=ilRepositoryGUI::class, ?int $redirect_target_ref_id=null,)
 
 buildGroup (string $create_target_class, array $obj_types_in_group, string $title, array $subtypes)
 

Detailed Description

Certificate Settings.

Author
Helmut Schottmüller ilias.nosp@m.@aur.nosp@m.ealis.nosp@m..de
Version
$Id$ @ilCtrl_Calls ilObjCertificateSettingsGUI: ilPermissionGUI @ilCtrl_IsCalledBy ilObjCertificateSettingsGUI: ilAdministrationGUI

Definition at line 33 of file class.ilObjCertificateSettingsGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilObjCertificateSettingsGUI::__construct (   $data,
int  $id = 0,
bool  $call_by_reference = true,
bool  $prepare_output = true,
?ilUserCertificateRepository  $user_certificate_repo = null,
?ilCertificateActiveValidator  $certificate_active_validator = null 
)

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

55 {
56 global $DIC;
57
59
60 $this->httpState = $DIC->http();
61 $this->upload = $DIC->upload();
62 $this->logger = $DIC->logger()->root();
63 $this->type = 'cert';
64 $this->lng->loadLanguageModule('certificate');
65 $this->lng->loadLanguageModule('cert');
66 $this->lng->loadLanguageModule('trac');
67
68 $this->irss = $DIC->resourceStorage();
69
70 $this->user_certificate_repo = $user_certificate_repo ?: new ilUserCertificateRepository();
71 $this->certificate_active_validator = $certificate_active_validator ?: new ilCertificateActiveValidator();
72 }
readonly ilCertificateActiveValidator $certificate_active_validator
readonly ilUserCertificateRepository $user_certificate_repo
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
global $DIC
Definition: shib_login.php:26

References ilObjectGUI\$call_by_reference, $certificate_active_validator, ilObjectGUI\$data, $DIC, ilObjectGUI\$id, ilObjectGUI\$prepare_output, $user_certificate_repo, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), and ILIAS\Repository\upload().

+ Here is the call graph for this function:

Member Function Documentation

◆ certificatesOverview()

ilObjCertificateSettingsGUI::certificatesOverview ( )

Definition at line 249 of file class.ilObjCertificateSettingsGUI.php.

249 : void
250 {
251 if (
252 !$this->certificate_active_validator->validate() ||
253 !$this->rbac_system->checkAccess('read', $this->object->getRefId())
254 ) {
255 $this->error->raiseError($this->lng->txt('permission_denied'), $this->error->WARNING);
256 }
257
258 $this->tabs_gui->activateTab(self::TAB_CERTIFICATES);
259
260 $table = new CertificateOverviewTable();
261
262 $this->tpl->setContent($table->render());
263 }
error(string $a_errmsg)

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

+ Here is the call graph for this function:

◆ downloadCertificate()

ilObjCertificateSettingsGUI::downloadCertificate ( )

Definition at line 265 of file class.ilObjCertificateSettingsGUI.php.

265 : void
266 {
267 if (
268 !$this->certificate_active_validator->validate() ||
269 !$this->rbac_system->checkAccess('read', $this->object->getRefId())
270 ) {
271 $this->error->raiseError($this->lng->txt('permission_denied'), $this->error->WARNING);
272 }
273
274 $certificate_id = $this->httpState->wrapper()->query()->retrieve(
275 'cert_overview_id',
276 $this->refinery->byTrying([
277 $this->refinery->kindlyTo()->listOf($this->refinery->kindlyTo()->int()),
278 $this->refinery->always([]),
279 ])
280 );
281
282 if ($certificate_id === []) {
283 $this->ctrl->redirect($this, self::CMD_CERTIFICATES_OVERVIEW);
284 }
285
286 // Only one download at a time is possible
287 $certificate_id = $certificate_id[array_key_first($certificate_id)];
288
289 try {
290 $user_certificate = $this->user_certificate_repo->fetchCertificate($certificate_id);
291 if (!$user_certificate->isCurrentlyActive()) {
292 throw new Exception('Certificate is not active');
293 }
294 } catch (Exception $ex) {
295 $this->logger->error('Fetching user certificate for download failed. Ex.: ' . $ex->getMessage());
296 $this->tpl->setOnScreenMessage('failure', $this->lng->txt('error_creating_certificate_pdf'), true);
297 $this->ctrl->redirect($this, self::CMD_CERTIFICATES_OVERVIEW);
298 }
299
300 $pdf_generator = new ilPdfGenerator($this->user_certificate_repo);
301
302 $pdf_action = new ilCertificatePdfAction(
303 $pdf_generator,
305 $this->lng->txt('error_creating_certificate_pdf')
306 );
307
308 $pdf_action->downloadPdf($user_certificate->getUserId(), $user_certificate->getObjId());
309 $this->ctrl->redirect($this, self::CMD_CERTIFICATES_OVERVIEW);
310 }
Just a wrapper class to create Unit Test for other classes.

References ILIAS\Repository\ctrl(), error(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), and ILIAS\Repository\refinery().

+ Here is the call graph for this function:

◆ executeCommand()

ilObjCertificateSettingsGUI::executeCommand ( )

Reimplemented from ilObjectGUI.

Definition at line 74 of file class.ilObjCertificateSettingsGUI.php.

74 : void
75 {
76 $next_class = $this->ctrl->getNextClass($this) ?? '';
77 $cmd = $this->ctrl->getCmd();
78
79 $this->prepareOutput();
80
81 if (!$this->rbac_system->checkAccess('read', $this->object->getRefId())) {
82 $this->error->raiseError($this->lng->txt('no_permission'), $this->error->WARNING);
83 }
84
85 switch (strtolower($next_class)) {
86 case strtolower(ilPermissionGUI::class):
87 $this->tabs_gui->setTabActive('perm_settings');
88 $perm_gui = new ilPermissionGUI($this);
89 $this->ctrl->forwardCommand($perm_gui);
90
91 break;
92 default:
93 if (!$cmd || $cmd === 'view') {
94 $cmd = 'settings';
95 }
96
97 $this->$cmd();
98
99 break;
100 }
101 }
prepareOutput(bool $show_sub_objects=true)

References ILIAS\Repository\ctrl(), error(), ILIAS\Repository\lng(), and ilObjectGUI\prepareOutput().

+ Here is the call graph for this function:

◆ getAdminTabs()

ilObjCertificateSettingsGUI::getAdminTabs ( )

administration tabs show only permissions and trash folder

Reimplemented from ilObjectGUI.

Definition at line 103 of file class.ilObjCertificateSettingsGUI.php.

103 : void
104 {
105 if ($this->certificate_active_validator->validate() && $this->rbac_system->checkAccess('read', $this->object->getRefId())) {
106 $this->tabs_gui->addTab(
107 self::TAB_CERTIFICATES,
108 $this->lng->txt('overview'),
109 $this->ctrl->getLinkTarget($this, self::CMD_CERTIFICATES_OVERVIEW)
110 );
111 }
112
113 if ($this->rbac_system->checkAccess('visible,read', $this->object->getRefId())) {
114 $this->tabs_gui->addTarget(
115 'settings',
116 $this->ctrl->getLinkTarget($this, 'settings'),
117 ['settings', 'view']
118 );
119 }
120
121 if ($this->rbac_system->checkAccess('edit_permission', $this->object->getRefId())) {
122 $this->tabs_gui->addTarget(
123 'perm_settings',
124 $this->ctrl->getLinkTargetByClass(ilPermissionGUI::class, 'perm'),
125 [],
126 strtolower(ilPermissionGUI::class)
127 );
128 }
129 }

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

+ Here is the call graph for this function:

◆ save()

ilObjCertificateSettingsGUI::save ( )

Definition at line 312 of file class.ilObjCertificateSettingsGUI.php.

312 : void
313 {
314 $form_settings = new ilSetting('certificate');
315
316 $mode = $this->httpState->wrapper()->post()->retrieve(
317 'persistent_certificate_mode',
318 $this->refinery->kindlyTo()->string()
319 );
320 $previousMode = $form_settings->get('persistent_certificate_mode', 'persistent_certificate_mode_cron');
321 if ($mode !== $previousMode && $mode === 'persistent_certificate_mode_instant') {
322 $cron = new ilCertificateCron();
323 $cron->init();
324 $cron->run();
325 }
326
327 $form_settings->set(
328 'pageformat',
329 $this->httpState->wrapper()->post()->retrieve('pageformat', $this->refinery->kindlyTo()->string())
330 );
331 $form_settings->set(
332 'active',
333 (string) ($this->httpState->wrapper()->post()->has('active') && $this->httpState->wrapper()->post()->retrieve(
334 'active',
335 $this->refinery->kindlyTo()->bool()
336 ))
337 );
338 $form_settings->set('persistent_certificate_mode', $mode);
339
340 $this->tpl->setOnScreenMessage('success', $this->lng->txt('settings_saved'));
341 $this->settings();
342 }
ILIAS Setting Class.
$cron
Definition: cron.php:26

References $cron, ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and settings().

+ Here is the call graph for this function:

◆ settings()

ilObjCertificateSettingsGUI::settings ( )

Definition at line 131 of file class.ilObjCertificateSettingsGUI.php.

131 : void
132 {
133 $this->tabs_gui->setTabActive('settings');
134 $form_settings = new ilSetting('certificate');
135
136 $form = new ilPropertyFormGUI();
137 $form->setFormAction($this->ctrl->getFormAction($this));
138 $form->setTitle($this->lng->txt('certificate_settings'));
139
140 $active = new ilCheckboxInputGUI($this->lng->txt('active'), 'active');
141 $active->setChecked((bool) $form_settings->get('active', '0'));
142 $form->addItem($active);
143
144 $info = new ilNonEditableValueGUI($this->lng->txt('info'), 'info');
145 $info->setValue($this->lng->txt('certificate_usage'));
146 $form->addItem($info);
147
148 $bgimage = new ilImageFileInputGUI($this->lng->txt('certificate_background_image'), 'background');
149 $bgimage->setRequired(false);
150
151 if (strcmp($this->ctrl->getCmd(), 'save') === 0) {
152 $backgroundDelete = $this->httpState->wrapper()->post()->has('background_delete') && $this->httpState->wrapper()->post()->retrieve(
153 'background_delete',
154 $this->refinery->kindlyTo()->bool()
155 );
156 if ($backgroundDelete) {
157 $this->object->deleteBackgroundImage();
158 }
159 }
160
161 if (
162 $this->upload->hasUploads() &&
163 $this->httpState->request()->getMethod() === 'POST' &&
164 $bgimage->checkInput()
165 ) {
166 if (!$this->upload->hasBeenProcessed()) {
167 $this->upload->process();
168 }
169
170 if (is_array($this->upload->getResults()) && $this->upload->getResults() !== []) {
171 $results = $this->upload->getResults();
172 $file = array_pop($results);
173 if ($file->isOK()) {
174 $result = $this->object->uploadBackgroundImage($file);
175 if ($result === false) {
176 $bgimage->setAlert($this->lng->txt('certificate_error_upload_bgimage'));
177 }
178 }
179 }
180 }
181
182 if ($this->object->hasBackgroundImage()) {
183 $rid = $this->object->getBackgroundImageIdentification();
184 if ($rid instanceof ResourceIdentification) {
185 $bgimage->setImage($this->irss->consume()->src($rid)->getSrc(true));
186 } elseif (is_string($rid)) {
187 $bgimage->setImage($rid);
188 }
189 }
190 $bgimage->setInfo($this->lng->txt('default_background_info'));
191 $form->addItem($bgimage);
192 $format = new ilSelectInputGUI($this->lng->txt('certificate_page_format'), 'pageformat');
193 $defaultformats = [
194 'a4' => $this->lng->txt('certificate_a4'), // (297 mm x 210 mm)
195 'a4landscape' => $this->lng->txt('certificate_a4_landscape'), // (210 mm x 297 mm)',
196 'a5' => $this->lng->txt('certificate_a5'), // (210 mm x 148.5 mm)
197 'a5landscape' => $this->lng->txt('certificate_a5_landscape'), // (148.5 mm x 210 mm)
198 'letter' => $this->lng->txt('certificate_letter'), // (11 inch x 8.5 inch)
199 'letterlandscape' => $this->lng->txt('certificate_letter_landscape') // (11 inch x 8.5 inch)
200 ];
201 $format->setOptions($defaultformats);
202 $format->setValue($form_settings->get('pageformat', ''));
203 $format->setInfo($this->lng->txt('certificate_page_format_info'));
204 $form->addItem($format);
205
206 if ($this->rbac_system->checkAccess('write', $this->object->getRefId())) {
207 $form->addCommandButton('save', $this->lng->txt('save'));
208 }
209
213 $form,
214 $this
215 );
216 }
217
218 $persistentCertificateMode = new ilRadioGroupInputGUI(
219 $this->lng->txt('persistent_certificate_mode'),
220 'persistent_certificate_mode'
221 );
222 $persistentCertificateMode->setRequired(true);
223
224 $cronJobMode = new ilRadioOption(
225 $this->lng->txt('persistent_certificate_mode_cron'),
226 'persistent_certificate_mode_cron'
227 );
228 $cronJobMode->setInfo($this->lng->txt('persistent_certificate_mode_cron_info'));
229
230 $instantMode = new ilRadioOption(
231 $this->lng->txt('persistent_certificate_mode_instant'),
232 'persistent_certificate_mode_instant'
233 );
234 $instantMode->setInfo($this->lng->txt('persistent_certificate_mode_instant_info'));
235
236 $persistentCertificateMode->addOption($cronJobMode);
237 $persistentCertificateMode->addOption($instantMode);
238
239 $persistentCertificateMode->setValue($form_settings->get(
240 'persistent_certificate_mode',
241 'persistent_certificate_mode_cron'
242 ));
243
244 $form->addItem($persistentCertificateMode);
245
246 $this->tpl->setContent($form->getHTML());
247 }
static addFieldsToForm(int $a_form_id, ilPropertyFormGUI $a_form, ilObjectGUI $a_parent_gui)
This class represents a checkbox property in a property form.
This class represents an image file property in a property form.
This class represents a non editable value in a property form.
This class represents a property form user interface.
This class represents a property in a property form.
This class represents an option in a radio group.
This class represents a selection list property in a property form.
$info
Definition: entry_point.php:21
$results

References $info, $results, ilObjUserTracking\_enabledLearningProgress(), ilAdministrationSettingsFormHandler\addFieldsToForm(), ILIAS\Repository\ctrl(), ilAdministrationSettingsFormHandler\FORM_CERTIFICATE, ILIAS\Repository\lng(), ILIAS\Repository\object(), ILIAS\Repository\refinery(), and ILIAS\Repository\upload().

Referenced by save().

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

Field Documentation

◆ $certificate_active_validator

readonly ilCertificateActiveValidator ilObjCertificateSettingsGUI::$certificate_active_validator
private

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

Referenced by __construct().

◆ $httpState

ILIAS HTTP GlobalHttpState ilObjCertificateSettingsGUI::$httpState
protected

Definition at line 39 of file class.ilObjCertificateSettingsGUI.php.

◆ $irss

IRSS ilObjCertificateSettingsGUI::$irss
private

Definition at line 38 of file class.ilObjCertificateSettingsGUI.php.

◆ $logger

readonly ilLogger ilObjCertificateSettingsGUI::$logger
private

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

◆ $object

ilObject ilObjCertificateSettingsGUI::$object
protected

Definition at line 43 of file class.ilObjCertificateSettingsGUI.php.

◆ $upload

ILIAS FileUpload FileUpload ilObjCertificateSettingsGUI::$upload
protected

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

◆ $user_certificate_repo

readonly ilUserCertificateRepository ilObjCertificateSettingsGUI::$user_certificate_repo
private

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

Referenced by __construct().

◆ CMD_CERTIFICATES_OVERVIEW

const ilObjCertificateSettingsGUI::CMD_CERTIFICATES_OVERVIEW = 'certificatesOverview'

◆ CMD_DOWNLOAD_CERTIFICATE

const ilObjCertificateSettingsGUI::CMD_DOWNLOAD_CERTIFICATE = 'downloadCertificate'

Definition at line 37 of file class.ilObjCertificateSettingsGUI.php.

◆ TAB_CERTIFICATES

const ilObjCertificateSettingsGUI::TAB_CERTIFICATES = 'certificates'

Definition at line 35 of file class.ilObjCertificateSettingsGUI.php.


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