19declare(strict_types=1);
24use ILIAS\User\Profile\Fields\NoOverrides;
32 use BuildAutocompletionUrl;
35 private readonly \
ilCtrl $ctrl
41 return 'interests_help_looking';
46 return $lng->txt(
'interests_help_looking');
51 return AvailableSections::Interests;
86 $input->setMaxLength(40);
87 $input->setDataSource(
104 $user->setLookingForHelp($input);
__construct(private readonly \ilCtrl $ctrl)
retrieveValueFromUser(\ilObjUser $user)
visibleInGroupsForcedTo()
addValueToUserObject(\ilObjUser $user, mixed $input, ?\ilPropertyFormGUI $form=null)
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,...
visibleInStudyProgrammesForcedTo()
availableInCertificatesForcedTo()
visibleInCoursesForcedTo()
Class ilCtrl provides processing control methods.
This class represents a text property in a property form.