19declare(strict_types=1);
24use ILIAS\User\Profile\Fields\NoOverrides;
40 return $lng->txt(
'login');
45 return AvailableSections::PersonalData;
98 $lng->loadLanguageModule(
'administration');
100 $input = new \ilUserLoginInputGUI(
$lng->txt(
'login'),
'login');
101 if ($user ===
null) {
105 $input->setCurrentUserId($user->getId());
110 $last_history_entry = $user->getLastHistoryData();
111 if ($last_history_entry ===
null) {
117 $lng->txt(
'usr_loginname_history_info'),
119 $last_history_entry[0]
130 $user->setLogin($input);
visibleInStudyProgrammesForcedTo()
visibleInRegistrationForcedTo()
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,...
retrieveValueFromUser(\ilObjUser $user)
visibleInLocalUserAdministrationForcedTo()
availableInCertificatesForcedTo()
visibleInCoursesForcedTo()
addValueToUserObject(\ilObjUser $user, mixed $input, ?\ilPropertyFormGUI $form=null)
visibleInGroupsForcedTo()
static formatDate(ilDateTime $date, bool $a_skip_day=false, bool $a_include_wd=false, bool $include_seconds=false, ?ilObjUser $user=null,)
@classDescription Date and time handling