|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
GUI class for public user profile presentation. More...
Collaboration diagram for ilPublicUserProfileGUI:Public Member Functions | |
| __construct ($a_user_id=0) | |
| Constructor. More... | |
| setUserId ($a_userid) | |
| Set User ID. More... | |
| getUserId () | |
| Get User ID. More... | |
| setAdditional ($a_additional) | |
| Set Additonal Information. More... | |
| getAdditional () | |
| Get Additonal Information. More... | |
| setBackUrl ($a_backurl) | |
| Set Back Link URL. More... | |
| getBackUrl () | |
| Get Back Link URL. More... | |
| setCustomPrefs (array $a_prefs) | |
| Set custom preferences for public profile fields. More... | |
| setEmbedded ($a_value, $a_offline=false) | |
| executeCommand () | |
| Execute Command. More... | |
| view () | |
| View. More... | |
| getHTML () | |
| Show user page. More... | |
| getEmbeddable ($a_add_goto=false) | |
| get public profile html code More... | |
| deliverVCard () | |
| Deliver vcard information. More... | |
| renderTitle () | |
Static Public Member Functions | |
| static | getAutocompleteResult ($a_field_id, $a_term) |
Protected Member Functions | |
| handleBackUrl ($a_is_portfolio=false) | |
| getPublicPref (ilObjUser $a_user, $a_id) | |
| Get user preference for public profile. More... | |
| isProfilePublic () | |
| getProfilePortfolio () | |
| Check if current profile portfolio is accessible. More... | |
| doProfileAutoComplete () | |
Static Protected Member Functions | |
| static | validateUser ($usrId) |
| Check if given user id is valid. More... | |
Protected Attributes | |
| $userid | |
| $portfolioid | |
| $backurl | |
| $additional | |
| $embedded | |
| $custom_prefs | |
| $current_user | |
| $setting | |
GUI class for public user profile presentation.
@ilCtrl_Calls ilPublicUserProfileGUI: ilObjPortfolioGUI
Definition at line 14 of file class.ilPublicUserProfileGUI.php.
| ilPublicUserProfileGUI::__construct | ( | $a_user_id = 0 | ) |
Constructor.
| int | User ID. |
Definition at line 38 of file class.ilPublicUserProfileGUI.php.
References $_GET, $DIC, $lng, setBackUrl(), and setUserId().
Here is the call graph for this function:| ilPublicUserProfileGUI::deliverVCard | ( | ) |
Deliver vcard information.
Definition at line 728 of file class.ilPublicUserProfileGUI.php.
References $_GET, $type, ilObject\_exists(), ilUtil\deliverData(), ilObjMediaObject\getMimeType(), getUserId(), ilUtil\getWebspaceDir(), TEL_TYPE_CELL, TEL_TYPE_FAX, TEL_TYPE_HOME, and TEL_TYPE_WORK.
Here is the call graph for this function:
|
protected |
Definition at line 941 of file class.ilPublicUserProfileGUI.php.
References $result, ilJsonUtil\encode(), exit, and getAutocompleteResult().
Here is the call graph for this function:| ilPublicUserProfileGUI::executeCommand | ( | ) |
Execute Command.
Definition at line 199 of file class.ilPublicUserProfileGUI.php.
References $_GET, $DIC, $ret, $tpl, getAdditional(), getProfilePortfolio(), getUserId(), handleBackUrl(), and ilNotificationOSDHandler\removeNotification().
Here is the call graph for this function:| ilPublicUserProfileGUI::getAdditional | ( | ) |
Get Additonal Information.
Definition at line 97 of file class.ilPublicUserProfileGUI.php.
References $additional.
Referenced by executeCommand(), and getEmbeddable().
Here is the caller graph for this function:
|
static |
Definition at line 904 of file class.ilPublicUserProfileGUI.php.
References $DIC, $ilUser, $result, ANONYMOUS_USER_ID, ilObjUser\findInterests(), and ilSkillTreeNode\findSkills().
Referenced by ilAccountRegistrationGUI\doProfileAutoComplete(), and doProfileAutoComplete().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPublicUserProfileGUI::getBackUrl | ( | ) |
Get Back Link URL.
Definition at line 128 of file class.ilPublicUserProfileGUI.php.
References $backurl.
Referenced by getEmbeddable(), and handleBackUrl().
Here is the caller graph for this function:| ilPublicUserProfileGUI::getEmbeddable | ( | $a_add_goto = false | ) |
get public profile html code
Used in Personal Profile (as preview) and Portfolio (as page block)
Definition at line 328 of file class.ilPublicUserProfileGUI.php.
References $_SERVER, $additional, $DIC, $ilSetting, $ilUser, $lng, $tpl, ilObject\_exists(), ilUserDefinedFields\_getInstance(), ilObjUser\_getPersonalPicturePath(), ilLink\_getStaticLink(), ilObjUser\_isAnonymous(), ANONYMOUS_USER_ID, ilDatePresentation\formatDate(), getAdditional(), ilObjPortfolio\getAvailablePortfolioLinksForUserIds(), getBackUrl(), ilBuddySystemLinkButton\getInstanceByUserId(), ilBadgeAssignment\getInstancesByUserId(), ilMailFormCall\getLinkTarget(), ilMailGlobalServices\getMailObjectRefId(), ilMapUtil\getMapGUI(), ilUserUtil\getNamePresentation(), getPublicPref(), getUserId(), ilUtil\getWebspaceDir(), IL_CAL_DATE, ilMapUtil\isActivated(), isProfilePublic(), and ilWACSignedPath\signFile().
Referenced by getHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPublicUserProfileGUI::getHTML | ( | ) |
Show user page.
Definition at line 277 of file class.ilPublicUserProfileGUI.php.
References $DIC, $ilSetting, getEmbeddable(), getProfilePortfolio(), getUserId(), ilUtil\redirect(), and renderTitle().
Referenced by view().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Check if current profile portfolio is accessible.
Definition at line 891 of file class.ilPublicUserProfileGUI.php.
References ilObjPortfolio\getDefaultPortfolio(), and getUserId().
Referenced by executeCommand(), and getHTML().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Get user preference for public profile.
Will use original or custom preferences
| ilObjUser | $a_user | |
| string | $a_id |
Definition at line 181 of file class.ilPublicUserProfileGUI.php.
References ilObjUser\getPref().
Referenced by getEmbeddable().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPublicUserProfileGUI::getUserId | ( | ) |
Get User ID.
Definition at line 77 of file class.ilPublicUserProfileGUI.php.
References $userid.
Referenced by deliverVCard(), executeCommand(), getEmbeddable(), getHTML(), getProfilePortfolio(), isProfilePublic(), and renderTitle().
Here is the caller graph for this function:
|
protected |
Definition at line 133 of file class.ilPublicUserProfileGUI.php.
References $_GET, $DIC, $lng, and getBackUrl().
Referenced by executeCommand(), and renderTitle().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 262 of file class.ilPublicUserProfileGUI.php.
References $setting, and getUserId().
Referenced by getEmbeddable().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPublicUserProfileGUI::renderTitle | ( | ) |
Definition at line 871 of file class.ilPublicUserProfileGUI.php.
References $DIC, $tpl, ilObjUser\_getPersonalPicturePath(), ilUserUtil\getNamePresentation(), getUserId(), and handleBackUrl().
Referenced by getHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPublicUserProfileGUI::setAdditional | ( | $a_additional | ) |
Set Additonal Information.
| array | $a_additional | Additonal Information |
Definition at line 87 of file class.ilPublicUserProfileGUI.php.
| ilPublicUserProfileGUI::setBackUrl | ( | $a_backurl | ) |
Set Back Link URL.
| string | $a_backurl | Back Link URL |
Definition at line 107 of file class.ilPublicUserProfileGUI.php.
References $DIC.
Referenced by __construct().
Here is the caller graph for this function:| ilPublicUserProfileGUI::setCustomPrefs | ( | array | $a_prefs | ) |
Set custom preferences for public profile fields.
| array | $a_prefs |
Definition at line 167 of file class.ilPublicUserProfileGUI.php.
| ilPublicUserProfileGUI::setEmbedded | ( | $a_value, | |
$a_offline = false |
|||
| ) |
Definition at line 190 of file class.ilPublicUserProfileGUI.php.
| ilPublicUserProfileGUI::setUserId | ( | $a_userid | ) |
Set User ID.
| int | $a_userid | User ID |
Definition at line 67 of file class.ilPublicUserProfileGUI.php.
Referenced by __construct().
Here is the caller graph for this function:
|
staticprotected |
Check if given user id is valid.
| int | $usrId | The user id of the subject user |
Definition at line 839 of file class.ilPublicUserProfileGUI.php.
References $DIC, $ilUser, and ilObject\_lookupType().
Here is the call graph for this function:| ilPublicUserProfileGUI::view | ( | ) |
View.
This one is called e.g. through the goto script
Definition at line 254 of file class.ilPublicUserProfileGUI.php.
References getHTML().
Here is the call graph for this function:
|
protected |
Definition at line 19 of file class.ilPublicUserProfileGUI.php.
Referenced by getAdditional(), and getEmbeddable().
|
protected |
Definition at line 18 of file class.ilPublicUserProfileGUI.php.
Referenced by getBackUrl().
|
protected |
Definition at line 26 of file class.ilPublicUserProfileGUI.php.
|
protected |
Definition at line 21 of file class.ilPublicUserProfileGUI.php.
|
protected |
Definition at line 20 of file class.ilPublicUserProfileGUI.php.
|
protected |
Definition at line 17 of file class.ilPublicUserProfileGUI.php.
|
protected |
Definition at line 31 of file class.ilPublicUserProfileGUI.php.
Referenced by isProfilePublic().
|
protected |
Definition at line 16 of file class.ilPublicUserProfileGUI.php.
Referenced by getUserId().