|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
GUI class for public user profile presentation. More...
Collaboration diagram for ILIAS\User\Profile\PublicProfileGUI: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 () | |
Data Fields | |
| const string | DEFAULT_CMD = 'view' |
Protected Member Functions | |
| getPublicPref (\ilObjUser $a_user, string $a_id) | |
| Get user preference for public profile. More... | |
| isProfilePublic () | |
| validateUser (int $usr_id) | |
| 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 |
| GUIRequest | $profile_request |
| int | $userid = 0 |
| string | $backurl = '' |
| array | $additional = [] |
| bool | $embedded = false |
| array | $custom_prefs = [] |
| ilObjUser | $current_user |
| Profile | $profile |
| 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 33 of file class.PublicProfileGUI.php.
|
protected |
Definition at line 768 of file class.PublicProfileGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\User\Profile\PublicProfileGUI\getUserId().
Here is the call graph for this function:| ILIAS\User\Profile\PublicProfileGUI::deliverVCard | ( | ) |
Deliver vcard information.
Definition at line 577 of file class.PublicProfileGUI.php.
References ilObject\_exists(), ilUtil\deliverData(), ILIAS\User\Profile\PublicProfileGUI\getUserId(), ILIAS\User\Profile\VCard\TEL_TYPE_CELL, ILIAS\User\Profile\VCard\TEL_TYPE_FAX, ILIAS\User\Profile\VCard\TEL_TYPE_HOME, and ILIAS\User\Profile\VCard\TEL_TYPE_WORK.
Here is the call graph for this function:
|
protected |
Definition at line 734 of file class.PublicProfileGUI.php.
References $user_id, ANONYMOUS_USER_ID, exit, and ilObjUser\findInterests().
Here is the call graph for this function:| ILIAS\User\Profile\PublicProfileGUI::executeCommand | ( | ) |
Definition at line 161 of file class.PublicProfileGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\User\Profile\PublicProfileGUI\getAdditional(), ILIAS\User\Profile\PublicProfileGUI\getProfilePortfolio(), ILIAS\User\Profile\PublicProfileGUI\getUserId(), and ILIAS\User\Profile\PublicProfileGUI\validateUser().
Here is the call graph for this function:| ILIAS\User\Profile\PublicProfileGUI::getAdditional | ( | ) |
Definition at line 110 of file class.PublicProfileGUI.php.
References ILIAS\User\Profile\PublicProfileGUI\$additional.
Referenced by ILIAS\User\Profile\PublicProfileGUI\executeCommand(), and ILIAS\User\Profile\PublicProfileGUI\getEmbeddable().
Here is the caller graph for this function:| ILIAS\User\Profile\PublicProfileGUI::getBackUrl | ( | ) |
Definition at line 130 of file class.PublicProfileGUI.php.
References ILIAS\User\Profile\PublicProfileGUI\$backurl.
Referenced by ILIAS\User\Profile\PublicProfileGUI\getEmbeddable().
Here is the caller graph for this function:| ILIAS\User\Profile\PublicProfileGUI::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 258 of file class.PublicProfileGUI.php.
References $_SERVER, ILIAS\User\Profile\PublicProfileGUI\$tpl, ilObject\_exists(), ilObjUser\_isAnonymous(), ANONYMOUS_USER_ID, ILIAS\Repository\ctrl(), ilDatePresentation\formatDate(), ILIAS\UICore\GlobalTemplate\get(), ILIAS\User\Profile\PublicProfileGUI\getAdditional(), ilObjPortfolio\getAvailablePortfolioLinksForUserIds(), ILIAS\User\Profile\PublicProfileGUI\getBackUrl(), ilBuddySystemLinkButton\getInstanceByUserId(), ilMailFormCall\getLinkTarget(), ilMailGlobalServices\getMailObjectRefId(), ilMapUtil\getMapGUI(), ilUserUtil\getNamePresentation(), ILIAS\User\Profile\PublicProfileGUI\getPublicPref(), ILIAS\User\Profile\PublicProfileGUI\getUserId(), IL_CAL_DATE, ilMapUtil\isActivated(), ILIAS\User\Profile\PublicProfileGUI\isProfilePublic(), ILIAS\Repository\lng(), ILIAS\UICore\GlobalTemplate\parseCurrentBlock(), ILIAS\Repository\profile(), ILIAS\UICore\GlobalTemplate\setCurrentBlock(), ILIAS\UICore\GlobalTemplate\setPermanentLink(), and ILIAS\UICore\GlobalTemplate\setVariable().
Referenced by ILIAS\User\Profile\PublicProfileGUI\getHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\User\Profile\PublicProfileGUI::getHTML | ( | ) |
Definition at line 216 of file class.PublicProfileGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\User\Profile\PublicProfileGUI\getEmbeddable(), ILIAS\User\Profile\PublicProfileGUI\getProfilePortfolio(), ILIAS\User\Profile\PublicProfileGUI\getUserId(), ilUtil\redirect(), and ILIAS\User\Profile\PublicProfileGUI\renderTitle().
Referenced by ILIAS\User\Profile\PublicProfileGUI\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 722 of file class.PublicProfileGUI.php.
References ilObjPortfolio\getDefaultPortfolio(), and ILIAS\User\Profile\PublicProfileGUI\getUserId().
Referenced by ILIAS\User\Profile\PublicProfileGUI\executeCommand(), and ILIAS\User\Profile\PublicProfileGUI\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 146 of file class.PublicProfileGUI.php.
References ilObjUser\getPref().
Referenced by ILIAS\User\Profile\PublicProfileGUI\getEmbeddable().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\User\Profile\PublicProfileGUI::getUserId | ( | ) |
Definition at line 97 of file class.PublicProfileGUI.php.
References ILIAS\User\Profile\PublicProfileGUI\$userid.
Referenced by ILIAS\User\Profile\PublicProfileGUI\approveContactRequest(), ILIAS\User\Profile\PublicProfileGUI\deliverVCard(), ILIAS\User\Profile\PublicProfileGUI\executeCommand(), ILIAS\User\Profile\PublicProfileGUI\getEmbeddable(), ILIAS\User\Profile\PublicProfileGUI\getHTML(), ILIAS\User\Profile\PublicProfileGUI\getProfilePortfolio(), ILIAS\User\Profile\PublicProfileGUI\ignoreContactRequest(), ILIAS\User\Profile\PublicProfileGUI\isProfilePublic(), and ILIAS\User\Profile\PublicProfileGUI\renderTitle().
Here is the caller graph for this function:
|
protected |
Definition at line 778 of file class.PublicProfileGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\User\Profile\PublicProfileGUI\getUserId().
Here is the call graph for this function:
|
protected |
Definition at line 206 of file class.PublicProfileGUI.php.
References ILIAS\User\Profile\PublicProfileGUI\getUserId().
Referenced by ILIAS\User\Profile\PublicProfileGUI\getEmbeddable().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\User\Profile\PublicProfileGUI::renderTitle | ( | ) |
Definition at line 712 of file class.PublicProfileGUI.php.
References ilObjUser\_getPersonalPicturePath(), ilUserUtil\getNamePresentation(), and ILIAS\User\Profile\PublicProfileGUI\getUserId().
Referenced by ILIAS\User\Profile\PublicProfileGUI\getHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\User\Profile\PublicProfileGUI::setAdditional | ( | array | $a_additional | ) |
Set Additonal Information.
Definition at line 105 of file class.PublicProfileGUI.php.
| ILIAS\User\Profile\PublicProfileGUI::setBackUrl | ( | string | $backurl | ) |
Set Back Link URL.
Definition at line 118 of file class.PublicProfileGUI.php.
References ILIAS\User\Profile\PublicProfileGUI\$backurl, $parts, and ILIAS\Repository\ctrl().
Here is the call graph for this function:| ILIAS\User\Profile\PublicProfileGUI::setCustomPrefs | ( | array | $a_prefs | ) |
Set custom preferences for public profile fields.
Definition at line 138 of file class.PublicProfileGUI.php.
| ILIAS\User\Profile\PublicProfileGUI::setEmbedded | ( | bool | $a_value, |
| bool | $a_offline = false |
||
| ) |
Definition at line 155 of file class.PublicProfileGUI.php.
| ILIAS\User\Profile\PublicProfileGUI::setUserId | ( | int | $a_userid | ) |
Definition at line 92 of file class.PublicProfileGUI.php.
|
protected |
Check if given user id is valid.
Definition at line 684 of file class.PublicProfileGUI.php.
References ilObject\_lookupType(), and ILIAS\Repository\ctrl().
Referenced by ILIAS\User\Profile\PublicProfileGUI\executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\User\Profile\PublicProfileGUI::view | ( | ) |
View.
This one is called e.g. through the goto script
Definition at line 201 of file class.PublicProfileGUI.php.
References ILIAS\User\Profile\PublicProfileGUI\getHTML().
Here is the call graph for this function:
|
private |
Definition at line 41 of file class.PublicProfileGUI.php.
Referenced by ILIAS\User\Profile\PublicProfileGUI\getAdditional().
|
private |
Definition at line 40 of file class.PublicProfileGUI.php.
Referenced by ILIAS\User\Profile\PublicProfileGUI\getBackUrl(), and ILIAS\User\Profile\PublicProfileGUI\setBackUrl().
|
private |
Definition at line 52 of file class.PublicProfileGUI.php.
|
private |
Definition at line 47 of file class.PublicProfileGUI.php.
|
private |
Definition at line 44 of file class.PublicProfileGUI.php.
|
private |
Definition at line 43 of file class.PublicProfileGUI.php.
|
private |
Definition at line 42 of file class.PublicProfileGUI.php.
|
private |
Definition at line 51 of file class.PublicProfileGUI.php.
|
private |
Definition at line 37 of file class.PublicProfileGUI.php.
|
private |
Definition at line 45 of file class.PublicProfileGUI.php.
|
private |
Definition at line 38 of file class.PublicProfileGUI.php.
|
private |
Definition at line 50 of file class.PublicProfileGUI.php.
|
private |
Definition at line 46 of file class.PublicProfileGUI.php.
|
private |
Definition at line 48 of file class.PublicProfileGUI.php.
|
private |
Definition at line 49 of file class.PublicProfileGUI.php.
Referenced by ILIAS\User\Profile\PublicProfileGUI\getEmbeddable().
|
private |
Definition at line 39 of file class.PublicProfileGUI.php.
Referenced by ILIAS\User\Profile\PublicProfileGUI\getUserId().
| const string ILIAS\User\Profile\PublicProfileGUI::DEFAULT_CMD = 'view' |
Definition at line 35 of file class.PublicProfileGUI.php.