|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
GUI class for public user profile presentation. More...
Inheritance diagram for ilPublicUserProfileGUI:
Collaboration diagram for ilPublicUserProfileGUI:Public Member Functions | |
| setUserId (int $a_userid) | |
| getUserId () | |
| setAdditional (array $a_additional) | |
| Set Additonal Information. More... | |
| getAdditional () | |
| setBackUrl (string $backurl) | |
| Set Back Link URL. More... | |
| getBackUrl () | |
| setCustomPrefs (array $a_prefs) | |
| Set custom preferences for public profile fields. More... | |
| setEmbedded (bool $a_value, bool $a_offline=false) | |
| executeCommand () | |
| view () | |
| View. More... | |
| getHTML () | |
| getEmbeddable (bool $a_add_goto=false) | |
| get public profile html code Used in Personal Profile (as preview) and Portfolio (as page block) More... | |
| deliverVCard () | |
| Deliver vcard information. More... | |
| renderTitle () | |
Static Public Member Functions | |
| static | getAutocompleteResult (string $a_field_id, string $a_term) |
Protected Member Functions | |
| getPublicPref (ilObjUser $a_user, string $a_id) | |
| Get user preference for public profile. More... | |
| isProfilePublic () | |
| validateUser (int $usrId) | |
| Check if given user id is valid. More... | |
| getProfilePortfolio () | |
| Check if current profile portfolio is accessible. More... | |
| doProfileAutoComplete () | |
| approveContactRequest () | |
| ignoreContactRequest () | |
Private Attributes | |
| bool | $offline = false |
| ilUserDefinedFields | $user_defined_fields |
| GUIRequest | $profile_request |
| int | $userid = 0 |
| string | $backurl = '' |
| array | $additional = [] |
| bool | $embedded = false |
| array | $custom_prefs = [] |
| ilObjUser | $current_user |
| ilSetting | $setting |
| ilCtrl | $ctrl |
| ilTabsGUI | $tabs |
| ilGlobalTemplateInterface | $tpl |
| ilRbacSystem | $rbac_system |
| Language | $lng |
| PublicUserProfileBadgesRenderer | $badges_renderer |
GUI class for public user profile presentation.
Definition at line 31 of file class.ilPublicUserProfileGUI.php.
|
protected |
Definition at line 797 of file class.ilPublicUserProfileGUI.php.
References ILIAS\Repository\ctrl(), and getUserId().
Here is the call graph for this function:| ilPublicUserProfileGUI::deliverVCard | ( | ) |
Deliver vcard information.
Definition at line 593 of file class.ilPublicUserProfileGUI.php.
References ilObject\_exists(), ilUtil\deliverData(), and getUserId().
Here is the call graph for this function:
|
protected |
| ilPublicUserProfileGUI::executeCommand | ( | ) |
Definition at line 155 of file class.ilPublicUserProfileGUI.php.
References ILIAS\Repository\ctrl(), getAdditional(), getProfilePortfolio(), getUserId(), and validateUser().
Here is the call graph for this function:| ilPublicUserProfileGUI::getAdditional | ( | ) |
Definition at line 104 of file class.ilPublicUserProfileGUI.php.
References $additional.
Referenced by executeCommand(), and getEmbeddable().
Here is the caller graph for this function:
|
static |
Definition at line 750 of file class.ilPublicUserProfileGUI.php.
References $DIC, $user_id, ANONYMOUS_USER_ID, and ilObjUser\findInterests().
Referenced by ilAccountRegistrationGUI\doProfileAutoComplete().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPublicUserProfileGUI::getBackUrl | ( | ) |
Definition at line 124 of file class.ilPublicUserProfileGUI.php.
References $backurl.
Referenced by getEmbeddable().
Here is the caller graph for this function:| ilPublicUserProfileGUI::getEmbeddable | ( | bool | $a_add_goto = false | ) |
get public profile html code Used in Personal Profile (as preview) and Portfolio (as page block)
Definition at line 261 of file class.ilPublicUserProfileGUI.php.
References $_SERVER, $tpl, ilObject\_exists(), ilUserDefinedFields\_getInstance(), ilObjUser\_getPersonalPicturePath(), ilLink\_getStaticLink(), ilObjUser\_isAnonymous(), ANONYMOUS_USER_ID, ILIAS\Repository\ctrl(), ilDatePresentation\formatDate(), ilGlobalTemplateInterface\get(), getAdditional(), ilObjPortfolio\getAvailablePortfolioLinksForUserIds(), getBackUrl(), ilBuddySystemLinkButton\getInstanceByUserId(), ilMailFormCall\getLinkTarget(), ilMailGlobalServices\getMailObjectRefId(), ilMapUtil\getMapGUI(), ilUserUtil\getNamePresentation(), getPublicPref(), getUserId(), IL_CAL_DATE, ilMapUtil\isActivated(), isProfilePublic(), ILIAS\Repository\lng(), ilGlobalTemplateInterface\parseCurrentBlock(), ilGlobalTemplateInterface\setCurrentBlock(), ilGlobalTemplateInterface\setPermanentLink(), and ilGlobalTemplateInterface\setVariable().
Referenced by getHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPublicUserProfileGUI::getHTML | ( | ) |
Definition at line 215 of file class.ilPublicUserProfileGUI.php.
References ILIAS\Repository\ctrl(), 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 738 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.
Definition at line 140 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 | ( | ) |
Definition at line 91 of file class.ilPublicUserProfileGUI.php.
References $userid.
Referenced by approveContactRequest(), deliverVCard(), executeCommand(), getEmbeddable(), getHTML(), getProfilePortfolio(), ignoreContactRequest(), isProfilePublic(), and renderTitle().
Here is the caller graph for this function:
|
protected |
Definition at line 807 of file class.ilPublicUserProfileGUI.php.
References ILIAS\Repository\ctrl(), and getUserId().
Here is the call graph for this function:
|
protected |
Definition at line 204 of file class.ilPublicUserProfileGUI.php.
References 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 728 of file class.ilPublicUserProfileGUI.php.
References ilObjUser\_getPersonalPicturePath(), ilUserUtil\getNamePresentation(), and getUserId().
Referenced by getHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPublicUserProfileGUI::setAdditional | ( | array | $a_additional | ) |
Set Additonal Information.
Definition at line 99 of file class.ilPublicUserProfileGUI.php.
| ilPublicUserProfileGUI::setBackUrl | ( | string | $backurl | ) |
Set Back Link URL.
Definition at line 112 of file class.ilPublicUserProfileGUI.php.
References $backurl, $parts, and ILIAS\Repository\ctrl().
Referenced by ilWorkspaceAccessGUI\executeCommand(), ilInfoScreenGUI\executeCommand(), and ilPersonalProfileGUI\executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPublicUserProfileGUI::setCustomPrefs | ( | array | $a_prefs | ) |
Set custom preferences for public profile fields.
Definition at line 132 of file class.ilPublicUserProfileGUI.php.
| ilPublicUserProfileGUI::setEmbedded | ( | bool | $a_value, |
| bool | $a_offline = false |
||
| ) |
Definition at line 149 of file class.ilPublicUserProfileGUI.php.
| ilPublicUserProfileGUI::setUserId | ( | int | $a_userid | ) |
Definition at line 86 of file class.ilPublicUserProfileGUI.php.
|
protected |
Check if given user id is valid.
Definition at line 700 of file class.ilPublicUserProfileGUI.php.
References ilObject\_lookupType(), and ILIAS\Repository\ctrl().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPublicUserProfileGUI::view | ( | ) |
View.
This one is called e.g. through the goto script
Definition at line 199 of file class.ilPublicUserProfileGUI.php.
References getHTML().
Here is the call graph for this function:
|
private |
Definition at line 38 of file class.ilPublicUserProfileGUI.php.
Referenced by getAdditional().
|
private |
Definition at line 37 of file class.ilPublicUserProfileGUI.php.
Referenced by getBackUrl(), and setBackUrl().
|
private |
Definition at line 48 of file class.ilPublicUserProfileGUI.php.
|
private |
Definition at line 43 of file class.ilPublicUserProfileGUI.php.
|
private |
Definition at line 41 of file class.ilPublicUserProfileGUI.php.
|
private |
Definition at line 40 of file class.ilPublicUserProfileGUI.php.
|
private |
Definition at line 39 of file class.ilPublicUserProfileGUI.php.
|
private |
Definition at line 47 of file class.ilPublicUserProfileGUI.php.
|
private |
Definition at line 33 of file class.ilPublicUserProfileGUI.php.
|
private |
Definition at line 35 of file class.ilPublicUserProfileGUI.php.
|
private |
Definition at line 46 of file class.ilPublicUserProfileGUI.php.
|
private |
Definition at line 42 of file class.ilPublicUserProfileGUI.php.
|
private |
Definition at line 44 of file class.ilPublicUserProfileGUI.php.
|
private |
Definition at line 45 of file class.ilPublicUserProfileGUI.php.
Referenced by getEmbeddable().
|
private |
Definition at line 34 of file class.ilPublicUserProfileGUI.php.
|
private |
Definition at line 36 of file class.ilPublicUserProfileGUI.php.
Referenced by getUserId().