19declare(strict_types=1);
24use ILIAS\User\Profile\Fields\NoOverrides;
45 return AvailableSections::Access;
118 $rbac_review = new \ilRbacReview();
119 $assinged_roles = $rbac_review->assignedRoles($user->
getId());
122 $rbac_review->getGlobalRolesArray(),
123 static fn(
string $c, array $v) => in_array($v[
'obj_id'], $assinged_roles)
availableInCertificatesForcedTo()
retrieveValueFromUser(\ilObjUser $user)
visibleInStudyProgrammesForcedTo()
visibleInCoursesForcedTo()
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,...
changeableByUserForcedTo()
This class represents a non editable value in a property form.
static getInstanceByObjId(?int $obj_id, bool $stop_on_error=true)
get an instance of an Ilias object by object id
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...