ILIAS
release_8 Revision v8.19
|
Class ilUserUtil. More...
Static Public Member Functions | |
static | getNamePresentation ( $a_user_id, bool $a_user_image=false, bool $a_profile_link=false, string $a_profile_back_link="", bool $a_force_first_lastname=false, bool $a_omit_login=false, bool $a_sortable=true, bool $a_return_data_array=false, $a_ctrl_path="ilpublicuserprofilegui") |
Default behaviour is: More... | |
static | hasPublicProfile (int $a_user_id) |
static | getProfileLink (int $a_usr_id) |
Get link to personal profile Return empty string in case of not public profile. More... | |
static | getPossibleStartingPoints (bool $a_force_all=false) |
Get all valid starting points. More... | |
static | setStartingPoint (int $a_value, int $a_ref_id=null, array $a_cal_view=[]) |
Set starting point setting. More... | |
static | getStartingPoint () |
Get current starting point setting. More... | |
static | getStartingObject () |
Get ref id of starting object. More... | |
static | getCalendarView () |
Get specific view of calendar starting point. More... | |
static | getCalendarPeriod () |
Get time frame of calendar view. More... | |
static | togglePersonalStartingPoint (bool $a_value) |
Toggle personal starting point setting. More... | |
static | hasPersonalStartingPoint () |
Can starting point be personalized? More... | |
static | hasPersonalStartPointPref () |
Did user set any personal starting point (yet)? More... | |
static | getPersonalStartingPoint () |
Get current personal starting point. More... | |
static | setPersonalStartingPoint (int $a_value, int $a_ref_id=null) |
Set personal starting point setting. More... | |
static | getPersonalStartingObject () |
Get ref id of personal starting object. More... | |
Data Fields | |
const | START_PD_OVERVIEW = 1 |
const | START_PD_SUBSCRIPTION = 2 |
const | START_PD_NOTES = 4 |
const | START_PD_NEWS = 5 |
const | START_PD_WORKSPACE = 6 |
const | START_PD_PORTFOLIO = 7 |
const | START_PD_SKILLS = 8 |
const | START_PD_LP = 9 |
const | START_PD_CALENDAR = 10 |
const | START_PD_MAIL = 11 |
const | START_PD_CONTACTS = 12 |
const | START_PD_PROFILE = 13 |
const | START_PD_SETTINGS = 14 |
const | START_REPOSITORY = 15 |
const | START_REPOSITORY_OBJ = 16 |
const | START_PD_MYSTAFF = 17 |
Class ilUserUtil.
Definition at line 26 of file class.ilUserUtil.php.
|
static |
Get time frame of calendar view.
Definition at line 488 of file class.ilUserUtil.php.
References $DIC, and $ilSetting.
Referenced by ilUserStartingPointGUI\getRoleStartingPointForm().
|
static |
Get specific view of calendar starting point.
Definition at line 476 of file class.ilUserUtil.php.
References $DIC, and $ilSetting.
Referenced by ilUserStartingPointGUI\getRoleStartingPointForm().
|
static |
Default behaviour is:
int|int[] | $a_user_id | |
string | array | $a_ctrl_path |
ilWACException |
Definition at line 57 of file class.ilUserUtil.php.
References $d, $data, $DIC, $id, $ilDB, $img, $lng, and ilObjUser\_getPersonalPicturePath().
Referenced by ilSurveyAppraiseesTableGUI\__construct(), ILIAS\Survey\Mode\AbstractUIModifier\addApprSelectionToToolbar(), ILIAS\Survey\InfoScreen\InfoScreenGUI\addStartResumeSection(), ilMDCopyrightUsageTableGUI\collectData(), ilSystemNotification\compose(), ilGroupAddToGroupActionGUI\confirmAddUser(), ilSurveyParticipantsGUI\confirmAdminAppraiseesCloseObject(), ilGroupAddToGroupActionGUI\confirmCreateGroupAndAddUser(), ilBadgeManagementGUI\confirmDeassignBadge(), ilExerciseManagementGUI\confirmDeassignMembersObject(), ilSurveyParticipantsGUI\confirmDeleteAppraiseesObject(), ilMailingListsGUI\confirmDeleteMembers(), ilSurveyParticipantsGUI\confirmDeleteRatersObject(), ilConsultationHoursGUI\confirmRejectBooking(), ilCourseParticipantsGroupsGUI\confirmRemove(), ilObjBlogGUI\confirmRemoveContributor(), ilExSubmissionTeamGUI\confirmRemoveTeamMemberObject(), ilSkillProfileGUI\confirmUserRemoval(), ilExerciseManagementGUI\createTeamsFromGroupsObject(), ilContSkillAdminGUI\deassignCompetencesConfirm(), ilObjDataCollection\doUpdate(), ilSharedResourceGUI\executeCommand(), ilExerciseManagementGUI\executeCommand(), ilUserForTagTableGUI\fillRow(), ilWikiRecentChangesTableGUI\fillRow(), ilHistoryTableGUI\fillRow(), ilPageHistoryTableGUI\fillRow(), ilExcDeliveredFilesTableGUI\fillRow(), ilExAssignmentListTextTableGUI\fillRow(), ilWikiPagesTableGUI\fillRow(), ilWorkspaceShareTableGUI\fillRow(), ilBookingReservationsTableGUI\fillRow(), ilCronManagerTableGUI\formatResultInfo(), ilCronManagerTableGUI\formatStatusInfo(), ilExSubmissionTeamGUI\getAdoptForm(), ILIAS\Skill\Profile\SkillProfileUserDBRepository\getAssignedUsers(), ILIAS\OnScreenChat\Repository\Subscriber\getDataByUserIds(), ilPublicUserProfileGUI\getEmbeddable(), ilNoteGUI\getItemForNote(), ilContributorTableGUI\getItems(), ilExAssignmentPeerReviewTableGUI\getItems(), ilExAssignmentTeamTableGUI\getItems(), ilPageLinker\getLinkXML(), ilLMPageObjectGUI\getLinkXML(), ilLMPresentationLinker\getLinkXML(), ILIAS\Awareness\WidgetManager\getListData(), ilLearningModuleNotification\getMailBody(), ilExSubmissionTeamGUI\getOverviewContent(), ilBlogPostingGUI\getPageHeading(), ilWikiPagesTableGUI\getPages(), ilAbstractUsersGalleryCollectionProvider\getPopulatedGroup(), ilDclBaseRecordModel\getStandardFieldHTML(), ILIAS\Notifications\Provider\AwarenessToastProvider\getToasts(), ilAppointmentPresentationGUI\getUserName(), ilMailUserHelper\getUsernameMapForIds(), ilInternalLinkGUI\getUserSearchResult(), ilBlogPosting\handleNews(), ilWorkspaceAccessTableGUI\importData(), ilObjFileGUI\infoScreenForward(), ilLearningProgressBaseGUI\initEditUserForm(), ilSurveyParticipantsGUI\initExternalRaterForm(), ilCalendarCategoryGUI\initFormCategory(), ilExerciseManagementGUI\initGroupForm(), ilExPeerReviewGUI\initPeerReviewItemForm(), ilBookingPreferencesGUI\listBookingResults(), ilChatroomViewGUI\lostConnection(), ilSurveyExecutionGUI\outSurveyPage(), ilExAssignmentListTextTableGUI\parse(), ilConsultationHourBookingTableGUI\parse(), ilMailingListsGUI\performDeleteMembers(), ilBuddySystemRelationsTableGUI\populate(), ilWikiPageGUI\preview(), ilContSkillAdminGUI\publishAssignments(), ilNewsTimelineItemGUI\render(), ilExPeerReviewGUI\renderInfoWidget(), ilObjBlogGUI\renderList(), ilLikeGUI\renderModal(), ilObjBlogGUI\renderNavigationByAuthors(), ilPublicUserProfileGUI\renderTitle(), ilMembershipCronNotifications\run(), ilLMMailNotification\send(), ilBuddySystemNotification\send(), ilObjSurvey\send360ReminderToUser(), ilWikiUtil\sendNotification(), ilObjSurvey\sendNotificationMail(), ILIAS\Notes\NotificationsManager\sendNotifications(), ilObjSurvey\sendRaterNotification(), ilMStShowUserGUI\setTitleAndIcon(), ilChatroomBanGUI\show(), ilPageObjectGUI\showEditLockInfo(), ilMailingListsGUI\showMembersList(), ilPageObjectGUI\showPage(), ilExAssignmentPeerReviewOverviewTableGUI\translateUserIds(), and ilPageObject\update().
|
static |
Get ref id of personal starting object.
Definition at line 590 of file class.ilUserUtil.php.
References $DIC, $ilUser, and $ref_id.
Referenced by ilPersonalSettingsGUI\initGeneralSettingsForm().
|
static |
Get current personal starting point.
Definition at line 536 of file class.ilUserUtil.php.
References $DIC, $ilUser, and $valid.
Referenced by ilPersonalSettingsGUI\initGeneralSettingsForm().
|
static |
Get all valid starting points.
Definition at line 229 of file class.ilUserUtil.php.
References $DIC, $ilSetting, $lang, $lng, ILIAS\LTI\ToolProvider\$settings, and ilCalendarSettings\_getInstance().
Referenced by ilUserRoleStartingPointTableGUI\getItems(), ilUserStartingPointGUI\getRoleStartingPointForm(), and ilPersonalSettingsGUI\initGeneralSettingsForm().
|
static |
Get link to personal profile Return empty string in case of not public profile.
Definition at line 209 of file class.ilUserUtil.php.
References $GLOBALS, and ilObjUser\_lookupPref().
Referenced by ilMDCopyrightUsageTableGUI\collectData(), and ilRepositoryUserResultTableGUI\fillRow().
|
static |
Get ref id of starting object.
Definition at line 464 of file class.ilUserUtil.php.
References $DIC, and $ilSetting.
Referenced by ilUserRoleStartingPointTableGUI\getItems(), and ilUserStartingPointGUI\getRoleStartingPointForm().
|
static |
Get current starting point setting.
Definition at line 303 of file class.ilUserUtil.php.
References $DIC, $ilSetting, $ilUser, $log, $ref_id, $valid, ilCalendarSettings\_getInstance(), ilLink\_getStaticLink(), ilObject\_lookupObjId(), ANONYMOUS_USER_ID, ilDashboardGUI\CMD_JUMP_TO_MY_STAFF, and ilStartingPoint\getRolesWithStartingPoint().
Referenced by ilUserRoleStartingPointTableGUI\getItems(), and ilUserStartingPointGUI\getRoleStartingPointForm().
|
static |
Can starting point be personalized?
Definition at line 512 of file class.ilUserUtil.php.
References $DIC, and $ilSetting.
Referenced by ilPersonalSettingsGUI\checkPersonalStartingPoint(), ilUserRoleStartingPointTableGUI\getItems(), ilUserStartingPointGUI\getUserStartingPointForm(), ilPersonalSettingsGUI\initGeneralSettingsForm(), and ilPersonalSettingsGUI\saveGeneralSettings().
|
static |
Did user set any personal starting point (yet)?
Definition at line 524 of file class.ilUserUtil.php.
Referenced by ilPersonalSettingsGUI\initGeneralSettingsForm().
|
static |
Definition at line 188 of file class.ilUserUtil.php.
Referenced by ilPageLinker\getLinkXML(), ilLMPageObjectGUI\getLinkXML(), and ilLMPresentationLinker\getLinkXML().
|
static |
Set personal starting point setting.
Definition at line 555 of file class.ilUserUtil.php.
References $DIC, $ilUser, $valid, ilObject\_lookupObjId(), and ILIAS\Repository\int().
Referenced by ilPersonalSettingsGUI\saveGeneralSettings().
|
static |
Set starting point setting.
Definition at line 268 of file class.ilUserUtil.php.
References $DIC, $ilSetting, ILIAS\LTI\ToolProvider\$key, $valid, ilObject\_lookupObjId(), and ILIAS\Repository\int().
Referenced by ilUserStartingPointGUI\saveStartingPoint().
|
static |
Toggle personal starting point setting.
Definition at line 500 of file class.ilUserUtil.php.
References $DIC, and $ilSetting.
Referenced by ilUserStartingPointGUI\saveUserStartingPoint().
const ilUserUtil::START_PD_CALENDAR = 10 |
Definition at line 36 of file class.ilUserUtil.php.
Referenced by ilUserStartingPointGUI\getRoleStartingPointForm(), and ilUserStartingPointGUI\saveStartingPoint().
const ilUserUtil::START_PD_CONTACTS = 12 |
Definition at line 38 of file class.ilUserUtil.php.
const ilUserUtil::START_PD_LP = 9 |
Definition at line 35 of file class.ilUserUtil.php.
const ilUserUtil::START_PD_MAIL = 11 |
Definition at line 37 of file class.ilUserUtil.php.
const ilUserUtil::START_PD_MYSTAFF = 17 |
Definition at line 43 of file class.ilUserUtil.php.
const ilUserUtil::START_PD_NEWS = 5 |
Definition at line 31 of file class.ilUserUtil.php.
const ilUserUtil::START_PD_NOTES = 4 |
Definition at line 30 of file class.ilUserUtil.php.
const ilUserUtil::START_PD_OVERVIEW = 1 |
Definition at line 28 of file class.ilUserUtil.php.
const ilUserUtil::START_PD_PORTFOLIO = 7 |
Definition at line 33 of file class.ilUserUtil.php.
const ilUserUtil::START_PD_PROFILE = 13 |
Definition at line 39 of file class.ilUserUtil.php.
const ilUserUtil::START_PD_SETTINGS = 14 |
Definition at line 40 of file class.ilUserUtil.php.
const ilUserUtil::START_PD_SKILLS = 8 |
Definition at line 34 of file class.ilUserUtil.php.
const ilUserUtil::START_PD_SUBSCRIPTION = 2 |
Definition at line 29 of file class.ilUserUtil.php.
const ilUserUtil::START_PD_WORKSPACE = 6 |
Definition at line 32 of file class.ilUserUtil.php.
const ilUserUtil::START_REPOSITORY = 15 |
Definition at line 41 of file class.ilUserUtil.php.
const ilUserUtil::START_REPOSITORY_OBJ = 16 |
Definition at line 42 of file class.ilUserUtil.php.
Referenced by ilPersonalSettingsGUI\checkPersonalStartingPoint(), ilUserRoleStartingPointTableGUI\getItems(), ilUserStartingPointGUI\getRoleStartingPointForm(), ilPersonalSettingsGUI\initGeneralSettingsForm(), and ilUserStartingPointGUI\saveStartingPoint().