|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilPublicUserProfileGUI:
Collaboration diagram for ilPublicUserProfileGUI:Public Member Functions | |
| __construct (int $a_user_id=0) | |
| setUserId (int $a_userid) | |
| getUserId () | |
| setAdditional (array $a_additional) | |
| Set Additonal Information. More... | |
| getAdditional () | |
| setBackUrl (string $a_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 () | |
| getProfilePortfolio () | |
| Check if current profile portfolio is accessible. More... | |
| doProfileAutoComplete () | |
| approveContactRequest () | |
| ignoreContactRequest () | |
Static Protected Member Functions | |
| static | validateUser (int $usrId) |
| Check if given user id is valid. More... | |
Protected Attributes | |
| ilUserDefinedFields | $user_defined_fields |
| ILIAS User ProfileGUIRequest | $profile_request |
| int | $userid = 0 |
| int | $portfolioid = 0 |
| string | $backurl = "" |
| array | $additional = [] |
| bool | $embedded = false |
| array | $custom_prefs = [] |
| ilObjUser | $current_user |
| ilSetting | $setting |
Private Attributes | |
| bool | $offline = false |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning GUI class for public user profile presentation.
Definition at line 24 of file class.ilPublicUserProfileGUI.php.
| ilPublicUserProfileGUI::__construct | ( | int | $a_user_id = 0 | ) |
Definition at line 38 of file class.ilPublicUserProfileGUI.php.
References $DIC, $lng, setBackUrl(), and setUserId().
Here is the call graph for this function:
|
protected |
Definition at line 873 of file class.ilPublicUserProfileGUI.php.
References $DIC.
| ilPublicUserProfileGUI::deliverVCard | ( | ) |
Deliver vcard information.
Definition at line 647 of file class.ilPublicUserProfileGUI.php.
References ILIAS\LTI\ToolProvider\$key, $type, ilObject\_exists(), ilUtil\deliverData(), ilObjMediaObject\getMimeType(), getUserId(), ilFileUtils\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 862 of file class.ilPublicUserProfileGUI.php.
References exit.
| ilPublicUserProfileGUI::executeCommand | ( | ) |
Definition at line 141 of file class.ilPublicUserProfileGUI.php.
References $DIC, $tpl, getAdditional(), getProfilePortfolio(), and getUserId().
Here is the call graph for this function:| ilPublicUserProfileGUI::getAdditional | ( | ) |
Definition at line 86 of file class.ilPublicUserProfileGUI.php.
References $additional.
Referenced by executeCommand(), and getEmbeddable().
Here is the caller graph for this function:
|
static |
Definition at line 821 of file class.ilPublicUserProfileGUI.php.
Referenced by ilAccountRegistrationGUI\doProfileAutoComplete().
Here is the caller graph for this function:| ilPublicUserProfileGUI::getBackUrl | ( | ) |
Definition at line 110 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 256 of file class.ilPublicUserProfileGUI.php.
References $_SERVER, $additional, $DIC, $ilSetting, $ilUser, ILIAS\LTI\ToolProvider\$key, $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(), ilFileUtils\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 | ( | ) |
Definition at line 205 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 809 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 126 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 73 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 886 of file class.ilPublicUserProfileGUI.php.
References $DIC.
|
protected |
Definition at line 193 of file class.ilPublicUserProfileGUI.php.
References $setting, ilSetting\get(), 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 795 of file class.ilPublicUserProfileGUI.php.
References $DIC, $tpl, 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 81 of file class.ilPublicUserProfileGUI.php.
| ilPublicUserProfileGUI::setBackUrl | ( | string | $a_backurl | ) |
Set Back Link URL.
Definition at line 94 of file class.ilPublicUserProfileGUI.php.
Referenced by __construct().
Here is the caller graph for this function:| ilPublicUserProfileGUI::setCustomPrefs | ( | array | $a_prefs | ) |
Set custom preferences for public profile fields.
Definition at line 118 of file class.ilPublicUserProfileGUI.php.
| ilPublicUserProfileGUI::setEmbedded | ( | bool | $a_value, |
| bool | $a_offline = false |
||
| ) |
Definition at line 135 of file class.ilPublicUserProfileGUI.php.
| ilPublicUserProfileGUI::setUserId | ( | int | $a_userid | ) |
Definition at line 68 of file class.ilPublicUserProfileGUI.php.
Referenced by __construct().
Here is the caller graph for this function:
|
staticprotected |
Check if given user id is valid.
Definition at line 763 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 188 of file class.ilPublicUserProfileGUI.php.
References getHTML().
Here is the call graph for this function:
|
protected |
Definition at line 32 of file class.ilPublicUserProfileGUI.php.
Referenced by getAdditional(), and getEmbeddable().
|
protected |
Definition at line 31 of file class.ilPublicUserProfileGUI.php.
Referenced by getBackUrl().
|
protected |
Definition at line 35 of file class.ilPublicUserProfileGUI.php.
|
protected |
Definition at line 34 of file class.ilPublicUserProfileGUI.php.
|
protected |
Definition at line 33 of file class.ilPublicUserProfileGUI.php.
|
private |
Definition at line 26 of file class.ilPublicUserProfileGUI.php.
|
protected |
Definition at line 30 of file class.ilPublicUserProfileGUI.php.
|
protected |
Definition at line 28 of file class.ilPublicUserProfileGUI.php.
|
protected |
Definition at line 36 of file class.ilPublicUserProfileGUI.php.
Referenced by isProfilePublic().
|
protected |
Definition at line 27 of file class.ilPublicUserProfileGUI.php.
|
protected |
Definition at line 29 of file class.ilPublicUserProfileGUI.php.
Referenced by getUserId().