ILIAS
release_4-3 Revision
|
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) |
Default behaviour is: | |
static | getPossibleStartingPoints () |
Get all valid starting points. | |
static | setStartingPoint ($a_value, $a_ref_id=null) |
Set starting point setting. | |
static | getStartingPoint () |
Get current starting point setting. | |
static | getStartingPointAsUrl () |
Get current starting point setting as URL. | |
static | getStartingObject () |
Get ref id of starting object. | |
static | togglePersonalStartingPoint ($a_value) |
Toggle personal starting point setting. | |
static | hasPersonalStartingPoint () |
Can starting point be personalized? | |
static | getPersonalStartingPoint () |
Get current personal starting point. | |
static | setPersonalStartingPoint ($a_value, $a_ref_id=null) |
Set personal starting point setting. | |
static | getPersonalStartingObject () |
Get ref id of personal starting object. |
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 |
|
static |
Default behaviour is:
...
boolean | sortable should be used in table presentions. output is "Doe, John" title is ommited |
Definition at line 42 of file class.ilUserUtil.php.
References $ilCtrl, $img, $lng, $row, $title, and ilObjUser\_getPersonalPicturePath().
Referenced by ilObjExerciseGUI\confirmDeassignMembersObject(), ilCourseParticipantsGroupsGUI\confirmRemove(), ilObjExerciseGUI\confirmRemoveTeamMemberObject(), ilSharedResourceGUI\executeCommand(), ilObjExerciseGUI\executeCommand(), ilUserForTagTableGUI\fillRow(), ilWikiRecentChangesTableGUI\fillRow(), ilExcDeliveredFilesTableGUI\fillRow(), ilWikiPagesTableGUI\fillRow(), ilUsersOnlineBlockGUI\fillRow(), ilContributorTableGUI\getItems(), ilExAssignmentTeamTableGUI\getItems(), ilCourseParticipantsGroupsTableGUI\getItems(), ilNoteGUI\getNoteListHTML(), ilWikiPagesTableGUI\getPages(), ilDataCollectionRecord\getStandardFieldHTML(), ilWorkspaceAccessTableGUI\importData(), ilObjFileGUI\infoScreenForward(), ilBlogPostingGUI\postOutputProcessing(), ilWikiPageGUI\preview(), ilObjBlogGUI\renderList(), ilObjBlogGUI\renderNavigation(), ilPublicUserProfileGUI\renderTitle(), ilObjDataCollection\sendNotification(), ilObjBlog\sendNotification(), ilWikiUtil\sendNotification(), ilExAssignment\sendNotification(), and ilPageObjectGUI\showPage().
|
static |
Get ref id of personal starting object.
Definition at line 466 of file class.ilUserUtil.php.
References $ilUser, $ref_id, and getStartingObject().
Referenced by getStartingPointAsUrl(), and ilPersonalSettingsGUI\initGeneralSettingsForm().
|
static |
Get current personal starting point.
Definition at line 413 of file class.ilUserUtil.php.
References $ilUser, $valid, and getStartingPoint().
Referenced by getStartingPointAsUrl(), and ilPersonalSettingsGUI\initGeneralSettingsForm().
|
static |
Get all valid starting points.
Definition at line 150 of file class.ilUserUtil.php.
References $ilSetting, $lang, $lng, ilCalendarSettings\_getInstance(), START_PD_CALENDAR, START_PD_OVERVIEW, START_PD_SUBSCRIPTION, START_PD_WORKSPACE, and START_REPOSITORY.
Referenced by ilObjSystemFolderGUI\initBasicSettingsForm(), and ilPersonalSettingsGUI\initGeneralSettingsForm().
|
static |
Get ref id of starting object.
Definition at line 376 of file class.ilUserUtil.php.
References $ilSetting.
Referenced by getPersonalStartingObject(), getStartingPointAsUrl(), and ilObjSystemFolderGUI\initBasicSettingsForm().
|
static |
Get current starting point setting.
Definition at line 278 of file class.ilUserUtil.php.
References $ilSetting, $ilUser, $valid, setStartingPoint(), START_PD_OVERVIEW, START_PD_SUBSCRIPTION, and START_REPOSITORY.
Referenced by getPersonalStartingPoint(), getStartingPointAsUrl(), and ilObjSystemFolderGUI\initBasicSettingsForm().
|
static |
Get current starting point setting as URL.
self::START_PD_LP => 'ilias.php?baseClass=ilPersonalDesktopGUI&cmd=jumpToLP',
Definition at line 314 of file class.ilUserUtil.php.
References $ilUser, $ref_id, ilLink\_getStaticLink(), ilObject\_lookupObjId(), getPersonalStartingObject(), getPersonalStartingPoint(), getStartingObject(), getStartingPoint(), and START_PD_OVERVIEW.
Referenced by ilMainMenuGUI\getHeaderURL(), and ilStartUpGUI\processStartingPage().
|
static |
Can starting point be personalized?
Definition at line 400 of file class.ilUserUtil.php.
References $ilSetting.
Referenced by ilObjSystemFolderGUI\initBasicSettingsForm(), ilPersonalSettingsGUI\initGeneralSettingsForm(), and ilPersonalSettingsGUI\saveGeneralSettings().
|
static |
Set personal starting point setting.
int | $a_value | |
int | $a_ref_id |
Definition at line 437 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 249 of file class.ilUserUtil.php.
References $ilSetting, $valid, and ilObject\_lookupObjId().
Referenced by getStartingPoint(), and ilObjSystemFolderGUI\saveBasicSettingsObject().
|
static |
Toggle personal starting point setting.
bool | $a_value |
Definition at line 388 of file class.ilUserUtil.php.
References $ilSetting.
Referenced by ilObjSystemFolderGUI\saveBasicSettingsObject().
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.
Referenced by getPossibleStartingPoints().
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_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.
Referenced by getPossibleStartingPoints(), getStartingPoint(), and getStartingPointAsUrl().
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.
Referenced by getPossibleStartingPoints(), and getStartingPoint().
const ilUserUtil::START_PD_WORKSPACE = 6 |
Definition at line 19 of file class.ilUserUtil.php.
Referenced by getPossibleStartingPoints().
const ilUserUtil::START_REPOSITORY = 15 |
Definition at line 28 of file class.ilUserUtil.php.
Referenced by getPossibleStartingPoints(), and getStartingPoint().
const ilUserUtil::START_REPOSITORY_OBJ = 16 |
Definition at line 29 of file class.ilUserUtil.php.
Referenced by ilObjSystemFolderGUI\initBasicSettingsForm(), and ilPersonalSettingsGUI\initGeneralSettingsForm().