ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilUserUtil. More...
Static Public Member Functions | |
static | getNamePresentation ( $a_user_id, $a_user_image=false, $a_profile_link=false, $a_profile_back_link="", $a_force_first_lastname=false, $a_omit_login=false, $a_sortable=true, $a_return_data_array=false, $a_ctrl_path="ilpublicuserprofilegui") |
Default behaviour is: More... | |
static | hasPublicProfile ($a_user_id) |
Has public profile. More... | |
static | getProfileLink ($a_usr_id) |
Get link to personal profile Return empty string in case of not public profile. More... | |
static | getPossibleStartingPoints ($a_force_all=false) |
Get all valid starting points. More... | |
static | setStartingPoint ($a_value, $a_ref_id=null) |
Set starting point setting. More... | |
static | getStartingPoint () |
Get current starting point setting. More... | |
static | getStartingPointAsUrl () |
Get current starting point setting as URL. More... | |
static | getStartingObject () |
Get ref id of starting object. More... | |
static | togglePersonalStartingPoint ($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 ($a_value, $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_BOOKMARKS = 3 |
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 |
|
static |
Default behaviour is:
...
boolean | sortable should be used in table presentions. output is "Doe, John" title is ommited |
Definition at line 43 of file class.ilUserUtil.php.
References $d, $data, $id, $ilCtrl, $ilDB, $img, $lng, $names, $row, $title, and array.
Referenced by ilMStShowUserGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), 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(), ilExSubmissionTeamGUI\createTeamObject(), ilExerciseManagementGUI\createTeamsFromGroupsObject(), ilContSkillAdminGUI\deassignCompetencesConfirm(), ilObjDataCollection\doUpdate(), ilPageObjectGUI\edit(), ilExerciseManagementGUI\executeCommand(), ilSharedResourceGUI\executeCommand(), ilUserForTagTableGUI\fillRow(), ilHistoryTableGUI\fillRow(), ilPageHistoryTableGUI\fillRow(), ilExcDeliveredFilesTableGUI\fillRow(), ilWikiRecentChangesTableGUI\fillRow(), ilExAssignmentListTextTableGUI\fillRow(), ilWikiPagesTableGUI\fillRow(), ilUsersOnlineBlockGUI\fillRow(), ilWorkspaceShareTableGUI\fillRow(), ilBookingReservationsTableGUI\fillRow(), ilAwarenessData\getData(), ilOnScreenChatUserDataProvider\getDataByUserIds(), ilContributorTableGUI\getItems(), ilExAssignmentPeerReviewTableGUI\getItems(), ilExAssignmentTeamTableGUI\getItems(), ilLMPageObjectGUI\getLinkXML(), ilGlossaryPresentationGUI\getLinkXML(), ilLMPresentationGUI\getLinkXML(), ilNoteGUI\getNoteListHTML(), ilAwarenessData\getOnlineUserData(), ilExSubmissionTeamGUI\getOverviewContent(), ilWikiPagesTableGUI\getPages(), ilAbstractUsersGalleryCollectionProvider\getPopulatedGroup(), ilDclBaseRecordModel\getStandardFieldHTML(), ilAppointmentPresentationGUI\getUserName(), ilChatroomViewGUI\getUserProfileImages(), ilInternalLinkGUI\getUserSearchResult(), ilBlogPosting\handleNews(), ilWorkspaceAccessTableGUI\importData(), ilObjSurveyGUI\infoScreen(), ilObjFileGUI\infoScreenForward(), ilLearningProgressBaseGUI\initEditUserForm(), ilSurveyParticipantsGUI\initExternalRaterForm(), ilCalendarCategoryGUI\initFormCategory(), ilExerciseManagementGUI\initGroupForm(), ilExPeerReviewGUI\initPeerReviewItemForm(), ilSurveyExecutionGUI\outSurveyPage(), ilExAssignmentListTextTableGUI\parse(), ilConsultationHourBookingTableGUI\parse(), ilCronManagerTableGUI\parseJobToData(), ilMailingListsGUI\performDeleteMembers(), ilBuddySystemRelationsTableGUI\populate(), ilBlogPostingGUI\postOutputProcessing(), ilWikiPageGUI\preview(), ilContSkillAdminGUI\publishAssignments(), ilNewsTimelineItemGUI\render(), ilExPeerReviewGUI\renderInfoWidget(), ilObjBlogGUI\renderList(), ilObjBlogGUI\renderNavigationByAuthors(), ilPublicUserProfileGUI\renderTitle(), ilBuddySystemNotification\send(), ilLMMailNotification\send(), ilObjSurvey\send360ReminderToUser(), ilWikiUtil\sendNotification(), ilObjSurvey\sendNotificationMail(), ilNote\sendNotifications(), ilObjSurvey\sendRaterNotification(), ilPageObjectGUI\setDefaultLinkXml(), ilChatroomBanGUI\show(), ilMailingListsGUI\showMembersList(), ilPageObjectGUI\showPage(), ilExAssignmentPeerReviewOverviewTableGUI\translateUserIds(), and ilPageObject\update().
|
static |
Get ref id of personal starting object.
Definition at line 511 of file class.ilUserUtil.php.
References $ilUser.
Referenced by ilPersonalSettingsGUI\initGeneralSettingsForm().
|
static |
Get current personal starting point.
Definition at line 458 of file class.ilUserUtil.php.
References $current, $ilUser, and $valid.
Referenced by ilPersonalSettingsGUI\initGeneralSettingsForm().
|
static |
Get all valid starting points.
Definition at line 212 of file class.ilUserUtil.php.
References $ilSetting, $lang, $lng, ilCalendarSettings\_getInstance(), array, and ilMyStaffAccess\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.
type | $a_usr_id |
Definition at line 191 of file class.ilUserUtil.php.
References $GLOBALS, and ilObjUser\_lookupPref().
Referenced by ilRepositoryUserResultTableGUI\initMultiCommands().
|
static |
Get ref id of starting object.
Definition at line 410 of file class.ilUserUtil.php.
References $ilSetting.
Referenced by ilUserRoleStartingPointTableGUI\getItems(), and ilUserStartingPointGUI\getRoleStartingPointForm().
|
static |
Get current starting point setting.
Definition at line 283 of file class.ilUserUtil.php.
References $current, $ilSetting, $ilUser, and $valid.
Referenced by ilUserRoleStartingPointTableGUI\getItems(), and ilUserStartingPointGUI\getRoleStartingPointForm().
|
static |
Get current starting point setting as URL.
self::START_PD_LP => 'ilias.php?baseClass=ilPersonalDesktopGUI&cmd=jumpToLP',
Definition at line 315 of file class.ilUserUtil.php.
References $current, $ilUser, ilLink\_getStaticLink(), ilObject\_lookupObjId(), array, ilPersonalDesktopGUI\CMD_JUMP_TO_MY_STAFF, ilStartingPoint\getRolesWithStartingPoint(), and ilStartingPoint\ROLE_BASED.
Referenced by ilMainMenuGUI\getHeaderURL(), and ilInitialisation\redirect().
|
static |
Can starting point be personalized?
Definition at line 434 of file class.ilUserUtil.php.
References $ilSetting.
Referenced by ilUserRoleStartingPointTableGUI\getItems(), ilUserStartingPointGUI\getUserStartingPointForm(), ilPersonalSettingsGUI\initGeneralSettingsForm(), and ilPersonalSettingsGUI\saveGeneralSettings().
|
static |
Did user set any personal starting point (yet)?
Definition at line 446 of file class.ilUserUtil.php.
References $ilUser.
Referenced by ilPersonalSettingsGUI\initGeneralSettingsForm().
|
static |
Has public profile.
Definition at line 170 of file class.ilUserUtil.php.
Referenced by ilLMPageObjectGUI\getLinkXML(), ilGlossaryPresentationGUI\getLinkXML(), ilLMPresentationGUI\getLinkXML(), and ilPageObjectGUI\setDefaultLinkXml().
|
static |
Set personal starting point setting.
int | $a_value | |
int | $a_ref_id |
Definition at line 479 of file class.ilUserUtil.php.
References $ilUser, $valid, and ilObject\_lookupObjId().
Referenced by ilPersonalSettingsGUI\saveGeneralSettings().
|
static |
Set starting point setting.
int | $a_value | |
int | $a_ref_id |
Definition at line 257 of file class.ilUserUtil.php.
References $ilSetting, $valid, and ilObject\_lookupObjId().
Referenced by ilUserStartingPointGUI\saveStartingPoint().
|
static |
Toggle personal starting point setting.
bool | $a_value |
Definition at line 422 of file class.ilUserUtil.php.
References $ilSetting.
Referenced by ilUserStartingPointGUI\saveUserStartingPoint().
const ilUserUtil::START_PD_BOOKMARKS = 3 |
Definition at line 16 of file class.ilUserUtil.php.
const ilUserUtil::START_PD_CALENDAR = 10 |
Definition at line 23 of file class.ilUserUtil.php.
const ilUserUtil::START_PD_CONTACTS = 12 |
Definition at line 25 of file class.ilUserUtil.php.
const ilUserUtil::START_PD_LP = 9 |
Definition at line 22 of file class.ilUserUtil.php.
const ilUserUtil::START_PD_MAIL = 11 |
Definition at line 24 of file class.ilUserUtil.php.
const ilUserUtil::START_PD_MYSTAFF = 17 |
Definition at line 30 of file class.ilUserUtil.php.
const ilUserUtil::START_PD_NEWS = 5 |
Definition at line 18 of file class.ilUserUtil.php.
const ilUserUtil::START_PD_NOTES = 4 |
Definition at line 17 of file class.ilUserUtil.php.
const ilUserUtil::START_PD_OVERVIEW = 1 |
Definition at line 14 of file class.ilUserUtil.php.
const ilUserUtil::START_PD_PORTFOLIO = 7 |
Definition at line 20 of file class.ilUserUtil.php.
const ilUserUtil::START_PD_PROFILE = 13 |
Definition at line 26 of file class.ilUserUtil.php.
const ilUserUtil::START_PD_SETTINGS = 14 |
Definition at line 27 of file class.ilUserUtil.php.
const ilUserUtil::START_PD_SKILLS = 8 |
Definition at line 21 of file class.ilUserUtil.php.
const ilUserUtil::START_PD_SUBSCRIPTION = 2 |
Definition at line 15 of file class.ilUserUtil.php.
const ilUserUtil::START_PD_WORKSPACE = 6 |
Definition at line 19 of file class.ilUserUtil.php.
const ilUserUtil::START_REPOSITORY = 15 |
Definition at line 28 of file class.ilUserUtil.php.
const ilUserUtil::START_REPOSITORY_OBJ = 16 |
Definition at line 29 of file class.ilUserUtil.php.
Referenced by ilUserRoleStartingPointTableGUI\getItems(), ilUserStartingPointGUI\getRoleStartingPointForm(), ilPersonalSettingsGUI\initGeneralSettingsForm(), and ilUserStartingPointGUI\saveStartingPoint().