19declare(strict_types=1);
24use ILIAS\User\Profile\Fields\NoOverrides;
32 use BuildAutocompletionUrl;
35 private readonly \
ilCtrl $ctrl
41 return 'interests_help_offered';
46 return $lng->txt(
'interests_help_offered');
51 return AvailableSections::Interests;
86 $input->setDataSource(
89 $input->setMaxLength(40);
104 $user->setOfferingHelp($input);
__construct(private readonly \ilCtrl $ctrl)
visibleInCoursesForcedTo()
availableInCertificatesForcedTo()
addValueToUserObject(\ilObjUser $user, mixed $input, ?\ilPropertyFormGUI $form=null)
visibleInStudyProgrammesForcedTo()
retrieveValueFromUser(\ilObjUser $user)
visibleInGroupsForcedTo()
getLegacyInput(Language $lng, Context $context, ?\ilObjUser $user=null)
You don't need to add a post_var to the input as the User will handle this for you,...
Class ilCtrl provides processing control methods.
This class represents a text property in a property form.