|
ILIAS
release_8 Revision v8.24
|
Class ilUserUtil. More...
Collaboration diagram for ilUserUtil: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().
Here is the caller graph for this function:
|
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().
Here is the caller graph for this function:
|
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(), ilGroupAddToGroupActionGUI\confirmAddUser(), ilSurveyParticipantsGUI\confirmAdminAppraiseesCloseObject(), ilGroupAddToGroupActionGUI\confirmCreateGroupAndAddUser(), ilBadgeManagementGUI\confirmDeassignBadge(), ilExerciseManagementGUI\confirmDeassignMembersObject(), ilSurveyParticipantsGUI\confirmDeleteAppraiseesObject(), ilMailingListsGUI\confirmDeleteMembers(), ilSurveyParticipantsGUI\confirmDeleteRatersObject(), ilConsultationHoursGUI\confirmRejectBooking(), ilCourseParticipantsGroupsGUI\confirmRemove(), ilObjBlogGUI\confirmRemoveContributor(), ilSkillProfileGUI\confirmUserRemoval(), ilExerciseManagementGUI\createTeamsFromGroupsObject(), ilContSkillAdminGUI\deassignCompetencesConfirm(), ilExerciseManagementGUI\executeCommand(), ilSharedResourceGUI\executeCommand(), ilBookingReservationsTableGUI\fillRow(), ilExAssignmentListTextTableGUI\fillRow(), ilExcDeliveredFilesTableGUI\fillRow(), ilWikiPagesTableGUI\fillRow(), ilWikiRecentChangesTableGUI\fillRow(), ilPageHistoryTableGUI\fillRow(), ilHistoryTableGUI\fillRow(), ilWorkspaceShareTableGUI\fillRow(), ilUserForTagTableGUI\fillRow(), ilCronManagerTableGUI\formatResultInfo(), ilCronManagerTableGUI\formatStatusInfo(), ilExSubmissionTeamGUI\getAdoptForm(), ILIAS\Skill\Profile\SkillProfileUserDBRepository\getAssignedUsers(), ILIAS\OnScreenChat\Repository\Subscriber\getDataByUserIds(), ilPublicUserProfileGUI\getEmbeddable(), ilContributorTableGUI\getItems(), ilExAssignmentPeerReviewTableGUI\getItems(), ilExAssignmentTeamTableGUI\getItems(), ilLMPageObjectGUI\getLinkXML(), ilPageLinker\getLinkXML(), ILIAS\Awareness\WidgetManager\getListData(), ilLearningModuleNotification\getMailBody(), ilBlogPostingGUI\getPageHeading(), ilWikiPagesTableGUI\getPages(), ilAbstractUsersGalleryCollectionProvider\getPopulatedGroup(), ilDclBaseRecordModel\getStandardFieldHTML(), ILIAS\Notifications\Provider\AwarenessToastProvider\getToasts(), ilAppointmentPresentationGUI\getUserName(), ilMailUserHelper\getUsernameMapForIds(), ilInternalLinkGUI\getUserSearchResult(), ilWorkspaceAccessTableGUI\importData(), ilObjFileGUI\infoScreenForward(), ilCalendarCategoryGUI\initFormCategory(), ilExerciseManagementGUI\initGroupForm(), ilBookingPreferencesGUI\listBookingResults(), ilExAssignmentListTextTableGUI\parse(), ilConsultationHourBookingTableGUI\parse(), ilBuddySystemRelationsTableGUI\populate(), ilWikiPageGUI\preview(), ilContSkillAdminGUI\publishAssignments(), ilNewsTimelineItemGUI\render(), ilExPeerReviewGUI\renderInfoWidget(), ilLikeGUI\renderModal(), ilPublicUserProfileGUI\renderTitle(), ilLMMailNotification\send(), ilBuddySystemNotification\send(), ilMStShowUserGUI\setTitleAndIcon(), ilChatroomBanGUI\show(), ilPageObjectGUI\showEditLockInfo(), ilMailingListsGUI\showMembersList(), ilPageObjectGUI\showPage(), ilExAssignmentPeerReviewOverviewTableGUI\translateUserIds(), and ilPageObject\update().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the caller graph for this function:
|
static |
Get current personal starting point.
Definition at line 536 of file class.ilUserUtil.php.
References $DIC, $ilUser, and $valid.
Referenced by ilPersonalSettingsGUI\initGeneralSettingsForm().
Here is the caller graph for this function:
|
static |
Get all valid starting points.
Definition at line 229 of file class.ilUserUtil.php.
References $DIC, $ilSetting, $lang, $lng, ILIAS\LTI\ToolProvider\$settings, ilCalendarSettings\_getInstance(), START_PD_CALENDAR, START_PD_MYSTAFF, START_PD_OVERVIEW, START_PD_SUBSCRIPTION, START_PD_WORKSPACE, START_REPOSITORY, and START_REPOSITORY_OBJ.
Referenced by ilUserRoleStartingPointTableGUI\getItems(), ilUserStartingPointGUI\getRoleStartingPointForm(), and ilPersonalSettingsGUI\initGeneralSettingsForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the caller graph for this function:
|
static |
Get current starting point setting.
Definition at line 303 of file class.ilUserUtil.php.
References $DIC, $ilSetting, $ilUser, $valid, and ANONYMOUS_USER_ID.
Referenced by ilUserRoleStartingPointTableGUI\getItems(), and ilUserStartingPointGUI\getRoleStartingPointForm().
Here is the caller graph for this function:
|
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().
Here is the caller graph for this function:
|
static |
Did user set any personal starting point (yet)?
Definition at line 524 of file class.ilUserUtil.php.
Referenced by ilPersonalSettingsGUI\initGeneralSettingsForm().
Here is the caller graph for this function:
|
static |
Definition at line 188 of file class.ilUserUtil.php.
Referenced by ilLMPageObjectGUI\getLinkXML(), and ilPageLinker\getLinkXML().
Here is the caller graph for this function:
|
static |
Set personal starting point setting.
Definition at line 555 of file class.ilUserUtil.php.
References $ilUser.
Referenced by ilPersonalSettingsGUI\saveGeneralSettings().
Here is the caller graph for this function:
|
static |
Set starting point setting.
Definition at line 268 of file class.ilUserUtil.php.
References $ilSetting, ilObject\_lookupObjId(), and ILIAS\Repository\int().
Referenced by ilUserStartingPointGUI\saveStartingPoint().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Toggle personal starting point setting.
Definition at line 500 of file class.ilUserUtil.php.
References $DIC, and $ilSetting.
Referenced by ilUserStartingPointGUI\saveUserStartingPoint().
Here is the caller graph for this function:| const ilUserUtil::START_PD_CALENDAR = 10 |
Definition at line 36 of file class.ilUserUtil.php.
Referenced by getPossibleStartingPoints(), 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.
Referenced by getPossibleStartingPoints().
| 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.
Referenced by getPossibleStartingPoints().
| 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.
Referenced by getPossibleStartingPoints().
| const ilUserUtil::START_PD_WORKSPACE = 6 |
Definition at line 32 of file class.ilUserUtil.php.
Referenced by getPossibleStartingPoints().
| const ilUserUtil::START_REPOSITORY = 15 |
Definition at line 41 of file class.ilUserUtil.php.
Referenced by getPossibleStartingPoints().
| const ilUserUtil::START_REPOSITORY_OBJ = 16 |
Definition at line 42 of file class.ilUserUtil.php.
Referenced by ilPersonalSettingsGUI\checkPersonalStartingPoint(), ilUserRoleStartingPointTableGUI\getItems(), getPossibleStartingPoints(), ilUserStartingPointGUI\getRoleStartingPointForm(), ilPersonalSettingsGUI\initGeneralSettingsForm(), and ilUserStartingPointGUI\saveStartingPoint().