|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
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 |
| ProfileGUIRequest | $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 |
| ilLanguage | $lng |
GUI class for public user profile presentation.
Definition at line 28 of file class.ilPublicUserProfileGUI.php.
|
protected |
Definition at line 829 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 625 of file class.ilPublicUserProfileGUI.php.
References ILIAS\LTI\ToolProvider\$key, ilObject\_exists(), ilUtil\deliverData(), getUserId(), TEL_TYPE_CELL, TEL_TYPE_FAX, TEL_TYPE_HOME, and TEL_TYPE_WORK.
Here is the call graph for this function:
|
protected |
| ilPublicUserProfileGUI::executeCommand | ( | ) |
Definition at line 149 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 98 of file class.ilPublicUserProfileGUI.php.
References $additional.
Referenced by executeCommand(), and getEmbeddable().
Here is the caller graph for this function:
|
static |
Definition at line 782 of file class.ilPublicUserProfileGUI.php.
References $DIC, 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 118 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 255 of file class.ilPublicUserProfileGUI.php.
References $_SERVER, ILIAS\LTI\ToolProvider\$key, $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(), ilBadgeAssignment\getInstancesByUserId(), 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(), ilGlobalTemplateInterface\setVariable(), and ilGlobalTemplateInterface\touchBlock().
Referenced by getHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPublicUserProfileGUI::getHTML | ( | ) |
Definition at line 209 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 770 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 134 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 85 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 839 of file class.ilPublicUserProfileGUI.php.
References ILIAS\Repository\ctrl(), and getUserId().
Here is the call graph for this function:
|
protected |
Definition at line 198 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 760 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 93 of file class.ilPublicUserProfileGUI.php.
| ilPublicUserProfileGUI::setBackUrl | ( | string | $backurl | ) |
Set Back Link URL.
Definition at line 106 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 126 of file class.ilPublicUserProfileGUI.php.
| ilPublicUserProfileGUI::setEmbedded | ( | bool | $a_value, |
| bool | $a_offline = false |
||
| ) |
Definition at line 143 of file class.ilPublicUserProfileGUI.php.
| ilPublicUserProfileGUI::setUserId | ( | int | $a_userid | ) |
Definition at line 80 of file class.ilPublicUserProfileGUI.php.
|
protected |
Check if given user id is valid.
Definition at line 732 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 193 of file class.ilPublicUserProfileGUI.php.
References getHTML().
Here is the call graph for this function:
|
private |
Definition at line 35 of file class.ilPublicUserProfileGUI.php.
Referenced by getAdditional().
|
private |
Definition at line 34 of file class.ilPublicUserProfileGUI.php.
Referenced by getBackUrl(), and setBackUrl().
|
private |
Definition at line 40 of file class.ilPublicUserProfileGUI.php.
|
private |
Definition at line 38 of file class.ilPublicUserProfileGUI.php.
|
private |
Definition at line 37 of file class.ilPublicUserProfileGUI.php.
|
private |
Definition at line 36 of file class.ilPublicUserProfileGUI.php.
|
private |
Definition at line 44 of file class.ilPublicUserProfileGUI.php.
|
private |
Definition at line 30 of file class.ilPublicUserProfileGUI.php.
|
private |
Definition at line 32 of file class.ilPublicUserProfileGUI.php.
|
private |
Definition at line 43 of file class.ilPublicUserProfileGUI.php.
|
private |
Definition at line 39 of file class.ilPublicUserProfileGUI.php.
|
private |
Definition at line 41 of file class.ilPublicUserProfileGUI.php.
|
private |
Definition at line 42 of file class.ilPublicUserProfileGUI.php.
Referenced by getEmbeddable().
|
private |
Definition at line 31 of file class.ilPublicUserProfileGUI.php.
|
private |
Definition at line 33 of file class.ilPublicUserProfileGUI.php.
Referenced by getUserId().