ILIAS  trunk Revision v11.0_alpha-1689-g66c127b4ae8
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.ilUDFDefinitionPlugin.php
Go to the documentation of this file.
1 <?php
2 
23 abstract class ilUDFDefinitionPlugin extends ilPlugin
24 {
25  public const UDF_SLOT_ID = 'udfd';
26  abstract public function getDefinitionType(): int;
27 
28  abstract public function getDefinitionTypeName(): string;
29 
33  abstract public function addDefinitionTypeOptionsToRadioOption(
34  ilRadioOption $option,
35  int $field_id
36  ): void;
37 
41  abstract public function getDefinitionUpdateFormTitle(): string;
42 
46  abstract public function updateDefinitionFromForm(
47  ilPropertyFormGUI $form,
48  int $a_definition_id
49  ): void;
50 
54  abstract public function getFormPropertyForDefinition(
55  array $definition,
56  bool $a_changeable = true,
57  string $a_default_value = ''
59 
60 
68  abstract public function lookupUserData(array $a_user_ids, array $a_field_ids): array;
69 }
This class represents an option in a radio group.
lookupUserData(array $a_user_ids, array $a_field_ids)
If user data data is not stored in table udf_text, return an array with user data for each udf field ...
updateDefinitionFromForm(ilPropertyFormGUI $form, int $a_definition_id)
Update definition from form input.
getFormPropertyForDefinition(array $definition, bool $a_changeable=true, string $a_default_value='')
Context: edit user; registration; edit user profile.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getDefinitionUpdateFormTitle()
get title for update form
addDefinitionTypeOptionsToRadioOption(ilRadioOption $option, int $field_id)
Add udf type options to radio option.