19 declare(strict_types=1);
39 private readonly
string $attribute_name,
52 return $this->attribute_name;
65 $translation_key = str_replace(
"_{$field_name}",
'', $attribute_name);
70 return 'INVALID TRANSLATION KEY';
73 public function addComponent(
string $component_name,
string $description): void
Class InterestedUserFieldComponent.
__construct(private readonly Language $lng, private readonly string $attribute_name, string $field_name)
Class InterestedUserFieldAttribute.
addComponent(string $component_name, string $description)
const USER_FIELD_TRANSLATION_MAPPING
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getNameTranslation(string $field_name, string $attribute_name)