|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
GUI class for personal profile. More...
Collaboration diagram for ilPersonalProfileGUI:Public Member Functions | |
| __construct (\ilTermsOfServiceDocumentEvaluation $termsOfServiceEvaluation=null) | |
| constructor More... | |
| workWithUserSetting ($setting) | |
| Returns TRUE if working with the given user setting is allowed, FALSE otherwise. More... | |
| userSettingVisible ($setting) | |
| Returns TRUE if user setting is visible, FALSE otherwise. More... | |
| userSettingEnabled ($setting) | |
| Returns TRUE if user setting is enabled, FALSE otherwise. More... | |
| uploadUserPicture () | |
| Upload user image. More... | |
| removeUserPicture () | |
| remove user image More... | |
| saveProfile () | |
| save user profile data More... | |
| showProfile () | |
| show profile form More... | |
| addLocationToForm (ilPropertyFormGUI $a_form, ilObjUser $a_user) | |
| Add location fields to form if activated. More... | |
| setTabs () | |
| __showOtherInformations () | |
| __showUserDefinedFields () | |
| __checkUserDefinedRequiredFields () | |
| setHeader () | |
| Set header. More... | |
| showPersonalData ($a_no_init=false, $a_migration_started=false) | |
| Personal data form. More... | |
| initPersonalDataForm () | |
| Init personal form. More... | |
| savePersonalData () | |
| Save personal data form. More... | |
| showPublicProfile ($a_no_init=false) | |
| Public profile form. More... | |
| initPublicProfileForm () | |
| Init public profile form. More... | |
| showPublicProfileFields (ilPropertyformGUI $form, array $prefs, $parent=null, $anonymized=false) | |
| Add fields to form. More... | |
| savePublicProfile () | |
| Save public profile form. More... | |
| showExportImport () | |
| Show export/import. More... | |
| exportPersonalData () | |
| Export personal data. More... | |
| downloadPersonalData () | |
| Download personal data export file. More... | |
| importPersonalDataSelection () | |
| Import personal data selection. More... | |
| initPersonalDataImportForm () | |
| Init personal data import form. More... | |
| importPersonalData () | |
| Import personal data. More... | |
Data Fields | |
| $tpl | |
| $lng | |
| $ilias | |
| $ctrl | |
| $user_defined_fields = null | |
Protected Member Functions | |
| showUserAgreement () | |
| getProfilePortfolio () | |
| has profile set to a portfolio? More... | |
| renderCertificateMigration (\ilObjUser $user, bool $migrationIsStartedInRequest) | |
Protected Attributes | |
| $tabs | |
| $termsOfServiceEvaluation | |
GUI class for personal profile.
@ilCtrl_Calls ilPersonalProfileGUI: ilPublicUserProfileGUI, ilCertificateMigrationGUI
Definition at line 12 of file class.ilPersonalProfileGUI.php.
| ilPersonalProfileGUI::__construct | ( | \ilTermsOfServiceDocumentEvaluation | $termsOfServiceEvaluation = null | ) |
constructor
| \ilTermsOfServiceDocumentEvaluation | null | $termsOfServiceEvaluation |
Definition at line 31 of file class.ilPersonalProfileGUI.php.
References $DIC, $ilCtrl, $ilias, $lng, $termsOfServiceEvaluation, $tpl, ilUserDefinedFields\_getInstance(), and settings().
Here is the call graph for this function:| ilPersonalProfileGUI::__checkUserDefinedRequiredFields | ( | ) |
Definition at line 685 of file class.ilPersonalProfileGUI.php.
References $_POST.
Referenced by saveProfile().
Here is the caller graph for this function:| ilPersonalProfileGUI::__showOtherInformations | ( | ) |
Definition at line 620 of file class.ilPersonalProfileGUI.php.
References userSettingVisible().
Here is the call graph for this function:| ilPersonalProfileGUI::__showUserDefinedFields | ( | ) |
Definition at line 630 of file class.ilPersonalProfileGUI.php.
References $DIC, $ilUser, $name, ilUtil\formSelect(), ilUtil\prepareFormOutput(), and UDF_TYPE_TEXT.
Here is the call graph for this function:| ilPersonalProfileGUI::addLocationToForm | ( | ilPropertyFormGUI | $a_form, |
| ilObjUser | $a_user | ||
| ) |
Add location fields to form if activated.
| ilPropertyFormGUI | $a_form | |
| ilObjUser | $a_user |
Definition at line 520 of file class.ilPersonalProfileGUI.php.
References $def, $DIC, $ilCtrl, ilPropertyFormGUI\addItem(), ilObjUser\getCity(), ilObjUser\getCountry(), ilMapUtil\getDefaultSettings(), ilObjUser\getLatitude(), ilObjUser\getLocationZoom(), ilObjUser\getLongitude(), ilObjUser\getStreet(), and ilMapUtil\isActivated().
Referenced by initPersonalDataForm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPersonalProfileGUI::downloadPersonalData | ( | ) |
| ilPersonalProfileGUI::exportPersonalData | ( | ) |
Export personal data.
Definition at line 1357 of file class.ilPersonalProfileGUI.php.
|
protected |
has profile set to a portfolio?
Definition at line 993 of file class.ilPersonalProfileGUI.php.
References $DIC, $ilSetting, $ilUser, and ilObjPortfolio\getDefaultPortfolio().
Here is the call graph for this function:| ilPersonalProfileGUI::importPersonalData | ( | ) |
Import personal data.
return
Definition at line 1464 of file class.ilPersonalProfileGUI.php.
References $_POST, $DIC, $ilCtrl, $ilUser, $tpl, and Sabre\HTTP\setHeader().
Here is the call graph for this function:| ilPersonalProfileGUI::importPersonalDataSelection | ( | ) |
Import personal data selection.
return
Definition at line 1390 of file class.ilPersonalProfileGUI.php.
References $DIC, $ilCtrl, $lng, $tpl, and Sabre\HTTP\setHeader().
Here is the call graph for this function:| ilPersonalProfileGUI::initPersonalDataForm | ( | ) |
Init personal form.
Definition at line 768 of file class.ilPersonalProfileGUI.php.
References $DIC, $ilSetting, $ilUser, $lng, addLocationToForm(), ilCustomUserFieldsHelper\getInstance(), and input.
Referenced by savePersonalData(), and showPersonalData().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPersonalProfileGUI::initPersonalDataImportForm | ( | ) |
Init personal data import form.
return
Definition at line 1414 of file class.ilPersonalProfileGUI.php.
| ilPersonalProfileGUI::initPublicProfileForm | ( | ) |
Init public profile form.
| int | $a_mode | Edit Mode |
Definition at line 1011 of file class.ilPersonalProfileGUI.php.
References $DIC, $ilSetting, $ilUser, $info, and $lng.
| ilPersonalProfileGUI::removeUserPicture | ( | ) |
remove user image
Definition at line 221 of file class.ilPersonalProfileGUI.php.
References $DIC, $ilUser, and saveProfile().
Here is the call graph for this function:
|
protected |
| bool | $migrationIsStartedInRequest |
Definition at line 1498 of file class.ilPersonalProfileGUI.php.
References $user.
Referenced by showPersonalData().
Here is the caller graph for this function:| ilPersonalProfileGUI::savePersonalData | ( | ) |
Save personal data form.
Definition at line 823 of file class.ilPersonalProfileGUI.php.
References $DIC, $f, $ilCtrl, $ilSetting, $ilUser, $lng, $location, $m, $map, $tpl, ilObjUser\_loginExists(), IL_CAL_DATE, initPersonalDataForm(), ilMapUtil\isActivated(), ilUtil\isLogin(), ilUtil\sendFailure(), ilUtil\stripSlashes(), and uploadUserPicture().
Here is the call graph for this function:| ilPersonalProfileGUI::saveProfile | ( | ) |
save user profile data
Definition at line 237 of file class.ilPersonalProfileGUI.php.
References $_POST, $DIC, $GLOBALS, $ilSetting, $ilUser, $key, __checkUserDefinedRequiredFields(), ilUtil\is_email(), ilUtil\sendFailure(), settings(), showProfile(), ilUtil\stripSlashes(), ilLuceneIndexer\updateLuceneIndex(), and workWithUserSetting().
Referenced by removeUserPicture().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPersonalProfileGUI::savePublicProfile | ( | ) |
Save public profile form.
Definition at line 1232 of file class.ilPersonalProfileGUI.php.
References $_POST, $_SESSION, $DIC, $GLOBALS, $handler, $ilCtrl, $ilUser, $key, $lng, $target, $tpl, ilSession\get(), ilBadgeHandler\getInstance(), ilUtil\redirect(), ilSession\set(), ilLuceneIndexer\updateLuceneIndex(), and ilBadgeAssignment\updatePositions().
Here is the call graph for this function:| ilPersonalProfileGUI::setHeader | ( | ) |
Set header.
Definition at line 699 of file class.ilPersonalProfileGUI.php.
Referenced by showPersonalData().
Here is the caller graph for this function:| ilPersonalProfileGUI::setTabs | ( | ) |
Definition at line 575 of file class.ilPersonalProfileGUI.php.
| ilPersonalProfileGUI::showExportImport | ( | ) |
Show export/import.
return
Definition at line 1316 of file class.ilPersonalProfileGUI.php.
References $DIC, $ilCtrl, $ilUser, $tpl, ilLinkButton\getInstance(), and Sabre\HTTP\setHeader().
Here is the call graph for this function:| ilPersonalProfileGUI::showPersonalData | ( | $a_no_init = false, |
|
$a_migration_started = false |
|||
| ) |
Personal data form.
Definition at line 713 of file class.ilPersonalProfileGUI.php.
References $_GET, $ctrl, $DIC, $ilUser, $lng, initPersonalDataForm(), renderCertificateMigration(), ilUtil\sendInfo(), and setHeader().
Referenced by showProfile().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPersonalProfileGUI::showProfile | ( | ) |
show profile form
/OLD IMPLEMENTATION DEPRECATED
Definition at line 478 of file class.ilPersonalProfileGUI.php.
References showPersonalData().
Referenced by saveProfile().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPersonalProfileGUI::showPublicProfile | ( | $a_no_init = false | ) |
Public profile form.
Definition at line 962 of file class.ilPersonalProfileGUI.php.
References $DIC, $ilSetting, $ilUser, $lng, and Sabre\HTTP\setHeader().
Here is the call graph for this function:| ilPersonalProfileGUI::showPublicProfileFields | ( | ilPropertyformGUI | $form, |
| array | $prefs, | ||
$parent = null, |
|||
$anonymized = false |
|||
| ) |
Add fields to form.
| ilPropertyformGUI | $form | |
| array | $prefs | |
| object | $parent | |
| bool | $a_anonymized |
Definition at line 1082 of file class.ilPersonalProfileGUI.php.
References $DIC, $form, $handler, $ilUser, $key, ilDatePresentation\formatDate(), ilBadgeHandler\getInstance(), ilBadgeAssignment\getInstancesByUserId(), IL_CAL_DATE, and ilMapUtil\isActivated().
Here is the call graph for this function:
|
protected |
Definition at line 486 of file class.ilPersonalProfileGUI.php.
References $tpl, ilSystemSupportContacts\getMailToAddress(), ilTermsOfServiceHelper\isEnabled(), and ilUtil\prepareFormOutput().
Here is the call graph for this function:| ilPersonalProfileGUI::uploadUserPicture | ( | ) |
Upload user image.
Definition at line 154 of file class.ilPersonalProfileGUI.php.
References $DIC, $ilUser, ilUtil\escapeShellArg(), ilUtil\execConvert(), ilUtil\getWebspaceDir(), ilUtil\isConvertVersionAtLeast(), ilUtil\sendFailure(), and workWithUserSetting().
Referenced by savePersonalData().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPersonalProfileGUI::userSettingEnabled | ( | $setting | ) |
Returns TRUE if user setting is enabled, FALSE otherwise.
Definition at line 142 of file class.ilPersonalProfileGUI.php.
References $result, and settings().
Here is the call graph for this function:| ilPersonalProfileGUI::userSettingVisible | ( | $setting | ) |
Returns TRUE if user setting is visible, FALSE otherwise.
Definition at line 128 of file class.ilPersonalProfileGUI.php.
References $result, and settings().
Referenced by __showOtherInformations().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPersonalProfileGUI::workWithUserSetting | ( | $setting | ) |
Returns TRUE if working with the given user setting is allowed, FALSE otherwise.
Definition at line 112 of file class.ilPersonalProfileGUI.php.
References $result, and settings().
Referenced by saveProfile(), and uploadUserPicture().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPersonalProfileGUI::$ctrl |
Definition at line 17 of file class.ilPersonalProfileGUI.php.
Referenced by showPersonalData().
| ilPersonalProfileGUI::$ilias |
Definition at line 16 of file class.ilPersonalProfileGUI.php.
Referenced by __construct().
| ilPersonalProfileGUI::$lng |
Definition at line 15 of file class.ilPersonalProfileGUI.php.
Referenced by __construct(), initPersonalDataForm(), savePersonalData(), and showPersonalData().
|
protected |
Definition at line 22 of file class.ilPersonalProfileGUI.php.
|
protected |
Definition at line 25 of file class.ilPersonalProfileGUI.php.
Referenced by __construct().
| ilPersonalProfileGUI::$tpl |
Definition at line 14 of file class.ilPersonalProfileGUI.php.
Referenced by __construct(), savePersonalData(), and showUserAgreement().
| ilPersonalProfileGUI::$user_defined_fields = null |
Definition at line 19 of file class.ilPersonalProfileGUI.php.