ILIAS
trunk Revision v11.0_alpha-1861-g09f3d197f78
|
GUI class for personal profile. More...
Public Member Functions | |
executeCommand () | |
workWithUserSetting (string $setting) | |
userSettingVisible (string $setting) | |
userSettingEnabled (string $setting) | |
uploadUserPicture () | |
removeUserPicture () | |
showProfile () | |
show profile form More... | |
addLocationToForm (ilPropertyFormGUI $a_form, ilObjUser $a_user) | |
Add location fields to form if activated. More... | |
setTabs () | |
__showOtherInformations () | |
__showUserDefinedFields () | |
setHeader () | |
showPersonalData (bool $a_no_init=false) | |
initPersonalDataForm () | |
savePersonalData () | |
goToEmailConfirmation () | |
changeEmail () | |
showPublicProfile (bool $a_no_init=false) | |
initPublicProfileForm () | |
showPublicProfileFields (ilPropertyFormGUI $form, array $prefs, ?object $parent=null, bool $anonymized=false, string $key_suffix='') | |
savePublicProfile () | |
showExportImport () | |
exportPersonalData () | |
downloadPersonalData () | |
Download personal data export file. More... | |
importPersonalDataSelection () | |
initPersonalDataImportForm () | |
importPersonalData () | |
Data Fields | |
const | CHANGE_EMAIL_CMD = 'changeEmail' |
Protected Member Functions | |
getProfilePortfolio () | |
getCheckedValues () | |
showChecklist (int $active_step) | |
Private Member Functions | |
buildInfoText () | |
emailChanged () | |
emailCompletionForced () | |
addEmailChangeModal () | |
loginChanged () | |
updateLoginOrSetErrorMessages () | |
savePersonalDataForm () | |
tempStorePicture () | |
GUI class for personal profile.
Definition at line 44 of file class.ilPersonalProfileGUI.php.
ilPersonalProfileGUI::__showOtherInformations | ( | ) |
Definition at line 393 of file class.ilPersonalProfileGUI.php.
References userSettingVisible().
ilPersonalProfileGUI::__showUserDefinedFields | ( | ) |
Definition at line 403 of file class.ilPersonalProfileGUI.php.
References ilLegacyFormElementsUtil\formSelect(), ilLegacyFormElementsUtil\prepareFormOutput(), UDF_TYPE_TEXT, and ILIAS\Repository\user().
|
private |
Definition at line 620 of file class.ilPersonalProfileGUI.php.
References $id, $message, ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ilRegistrationSettings\IL_REG_ACTIVATION, ILIAS\Repository\lng(), ILIAS\Repository\settings(), and ILIAS\UI\Implementation\Component\withAdditionalOnLoadCode().
Referenced by savePersonalData().
ilPersonalProfileGUI::addLocationToForm | ( | ilPropertyFormGUI | $a_form, |
ilObjUser | $a_user | ||
) |
Add location fields to form if activated.
Definition at line 302 of file class.ilPersonalProfileGUI.php.
References ilPropertyFormGUI\addItem(), ilObjUser\getCity(), ilObjUser\getCountry(), ilMapUtil\getDefaultSettings(), ilObjUser\getLatitude(), ilObjUser\getLocationZoom(), ilObjUser\getLongitude(), ilObjUser\getStreet(), ILIAS\Repository\int(), ilMapUtil\isActivated(), ILIAS\Repository\lng(), null, and ilLocationInputGUI\setLatitude().
Referenced by initPersonalDataForm().
|
private |
Definition at line 490 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
Referenced by showPersonalData().
ilPersonalProfileGUI::changeEmail | ( | ) |
Definition at line 788 of file class.ilPersonalProfileGUI.php.
References $token, $user, ilRegistrationSettings\IL_REG_ACTIVATION, ILIAS\Repository\int(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), null, send(), ILIAS\Repository\settings(), showPublicProfile(), and ILIAS\Repository\user().
ilPersonalProfileGUI::downloadPersonalData | ( | ) |
Download personal data export file.
Definition at line 1225 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\user().
|
private |
Definition at line 595 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\form(), null, and ILIAS\Repository\user().
Referenced by savePersonalData().
|
private |
Definition at line 606 of file class.ilPersonalProfileGUI.php.
References null, ILIAS\Repository\settings(), and ILIAS\Repository\user().
Referenced by savePersonalData(), and savePersonalDataForm().
ilPersonalProfileGUI::executeCommand | ( | ) |
Definition at line 136 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\ctrl(), ilPublicUserProfileGUI\setBackUrl(), setHeader(), setTabs(), showChecklist(), ILIAS\Repository\tabs(), and ILIAS\Repository\user().
ilPersonalProfileGUI::exportPersonalData | ( | ) |
Definition at line 1215 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\user().
|
protected |
Definition at line 1151 of file class.ilPersonalProfileGUI.php.
References $post, and ILIAS\Repository\form().
Referenced by savePublicProfile().
|
protected |
Definition at line 843 of file class.ilPersonalProfileGUI.php.
References ilObjPortfolio\getDefaultPortfolio(), null, ILIAS\Repository\settings(), and ILIAS\Repository\user().
Referenced by initPublicProfileForm().
ilPersonalProfileGUI::goToEmailConfirmation | ( | ) |
Definition at line 685 of file class.ilPersonalProfileGUI.php.
References $token, ILIAS\Repository\ctrl(), ILIAS\Repository\form(), initPersonalDataForm(), loginChanged(), savePersonalDataForm(), ilSession\SESSION_CLOSE_USER, ilSession\setClosingContext(), showPersonalData(), updateLoginOrSetErrorMessages(), and ILIAS\Repository\user().
ilPersonalProfileGUI::importPersonalData | ( | ) |
Definition at line 1274 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\form(), initPersonalDataImportForm(), ILIAS\Repository\lng(), setHeader(), ILIAS\Repository\tabs(), and ILIAS\Repository\user().
ilPersonalProfileGUI::importPersonalDataSelection | ( | ) |
Definition at line 1230 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\form(), initPersonalDataImportForm(), setHeader(), and ILIAS\Repository\tabs().
ilPersonalProfileGUI::initPersonalDataForm | ( | ) |
Definition at line 529 of file class.ilPersonalProfileGUI.php.
References addLocationToForm(), ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ilCustomUserFieldsHelper\getInstance(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
Referenced by goToEmailConfirmation(), savePersonalData(), and showPersonalData().
ilPersonalProfileGUI::initPersonalDataImportForm | ( | ) |
Definition at line 1241 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ILIAS\Repository\lng(), and ilFormPropertyGUI\setRequired().
Referenced by importPersonalData(), and importPersonalDataSelection().
ilPersonalProfileGUI::initPublicProfileForm | ( | ) |
Definition at line 851 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\form(), getProfilePortfolio(), ILIAS\Repository\lng(), ilFormPropertyGUI\setInfo(), ILIAS\Repository\settings(), showPublicProfileFields(), and ILIAS\Repository\user().
Referenced by savePublicProfile(), and showPublicProfile().
|
private |
Definition at line 647 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\form(), ILIAS\Repository\settings(), and ILIAS\Repository\user().
Referenced by goToEmailConfirmation(), and savePersonalData().
ilPersonalProfileGUI::removeUserPicture | ( | ) |
Definition at line 284 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\user().
ilPersonalProfileGUI::savePersonalData | ( | ) |
Definition at line 570 of file class.ilPersonalProfileGUI.php.
References addEmailChangeModal(), ILIAS\Repository\ctrl(), emailChanged(), emailCompletionForced(), ILIAS\Repository\form(), initPersonalDataForm(), ILIAS\Repository\lng(), loginChanged(), savePersonalDataForm(), showPersonalData(), tempStorePicture(), and updateLoginOrSetErrorMessages().
|
private |
Definition at line 709 of file class.ilPersonalProfileGUI.php.
References Vendor\Package\$f, $location, emailCompletionForced(), ILIAS\Repository\form(), IL_CAL_DATE, ilMapUtil\isActivated(), null, uploadUserPicture(), and ILIAS\Repository\user().
Referenced by goToEmailConfirmation(), and savePersonalData().
ilPersonalProfileGUI::savePublicProfile | ( | ) |
Definition at line 1071 of file class.ilPersonalProfileGUI.php.
References $handler, ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ilSession\get(), getCheckedValues(), ilBadgeHandler\getInstance(), initPublicProfileForm(), ILIAS\Repository\lng(), ilUtil\redirect(), ilSession\set(), ilLuceneIndexer\updateLuceneIndex(), ilBadgeAssignment\updatePositions(), and ILIAS\Repository\user().
ilPersonalProfileGUI::setHeader | ( | ) |
Definition at line 457 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\lng().
Referenced by executeCommand(), importPersonalData(), importPersonalDataSelection(), showExportImport(), showPersonalData(), and showPublicProfile().
ilPersonalProfileGUI::setTabs | ( | ) |
Definition at line 356 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\help(), ILIAS\Repository\lng(), and ILIAS\Repository\tabs().
Referenced by executeCommand().
|
protected |
Definition at line 1296 of file class.ilPersonalProfileGUI.php.
References $tpl, and ILIAS\UICore\GlobalTemplate\setRightContent().
Referenced by executeCommand(), showPersonalData(), and showPublicProfile().
ilPersonalProfileGUI::showExportImport | ( | ) |
Definition at line 1182 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), setHeader(), ILIAS\Repository\tabs(), ILIAS\Repository\toolbar(), and ILIAS\Repository\user().
ilPersonalProfileGUI::showPersonalData | ( | bool | $a_no_init = false | ) |
Definition at line 462 of file class.ilPersonalProfileGUI.php.
References buildInfoText(), ILIAS\Repository\form(), initPersonalDataForm(), ILIAS\Repository\lng(), null, setHeader(), showChecklist(), ILIAS\Repository\tabs(), and ILIAS\Repository\user().
Referenced by goToEmailConfirmation(), savePersonalData(), and showProfile().
ilPersonalProfileGUI::showProfile | ( | ) |
show profile form
/OLD IMPLEMENTATION DEPRECATED
Definition at line 294 of file class.ilPersonalProfileGUI.php.
References showPersonalData().
ilPersonalProfileGUI::showPublicProfile | ( | bool | $a_no_init = false | ) |
Definition at line 828 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\form(), initPublicProfileForm(), setHeader(), showChecklist(), and ILIAS\Repository\tabs().
Referenced by changeEmail().
ilPersonalProfileGUI::showPublicProfileFields | ( | ilPropertyFormGUI | $form, |
array | $prefs, | ||
?object | $parent = null , |
||
bool | $anonymized = false , |
||
string | $key_suffix = '' |
||
) |
Definition at line 913 of file class.ilPersonalProfileGUI.php.
References $handler, ilObjUser\_getPersonalPicturePath(), ilPropertyFormGUI\addItem(), ilDatePresentation\formatDate(), ilBadgeHandler\getInstance(), ilBadgeAssignment\getInstancesByUserId(), IL_CAL_DATE, ILIAS\Repository\int(), ilMapUtil\isActivated(), ILIAS\Repository\lng(), null, ILIAS\Repository\user(), and userSettingVisible().
Referenced by initPublicProfileForm().
|
private |
Definition at line 1302 of file class.ilPersonalProfileGUI.php.
References ILIAS\Repository\form().
Referenced by savePersonalData().
|
private |
Definition at line 658 of file class.ilPersonalProfileGUI.php.
References Vendor\Package\$e, ilObjUser\_loginExists(), ILIAS\Repository\form(), ilUtil\isLogin(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
Referenced by goToEmailConfirmation(), and savePersonalData().
ilPersonalProfileGUI::uploadUserPicture | ( | ) |
Definition at line 191 of file class.ilPersonalProfileGUI.php.
References $data, ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ILIAS\Repository\lng(), null, ILIAS\Repository\user(), and workWithUserSetting().
Referenced by savePersonalDataForm().
ilPersonalProfileGUI::userSettingEnabled | ( | string | $setting | ) |
Definition at line 186 of file class.ilPersonalProfileGUI.php.
ilPersonalProfileGUI::userSettingVisible | ( | string | $setting | ) |
Definition at line 181 of file class.ilPersonalProfileGUI.php.
Referenced by __showOtherInformations(), and showPublicProfileFields().
ilPersonalProfileGUI::workWithUserSetting | ( | string | $setting | ) |
Definition at line 176 of file class.ilPersonalProfileGUI.php.
Referenced by uploadUserPicture().
|
private |
Definition at line 55 of file class.ilPersonalProfileGUI.php.
|
private |
Definition at line 69 of file class.ilPersonalProfileGUI.php.
|
private |
Definition at line 63 of file class.ilPersonalProfileGUI.php.
|
private |
Definition at line 65 of file class.ilPersonalProfileGUI.php.
|
private |
Definition at line 58 of file class.ilPersonalProfileGUI.php.
|
private |
Definition at line 78 of file class.ilPersonalProfileGUI.php.
|
private |
Definition at line 62 of file class.ilPersonalProfileGUI.php.
|
private |
Definition at line 51 of file class.ilPersonalProfileGUI.php.
|
private |
Definition at line 52 of file class.ilPersonalProfileGUI.php.
|
private |
Definition at line 61 of file class.ilPersonalProfileGUI.php.
|
private |
Definition at line 75 of file class.ilPersonalProfileGUI.php.
|
private |
Definition at line 57 of file class.ilPersonalProfileGUI.php.
|
private |
Definition at line 73 of file class.ilPersonalProfileGUI.php.
|
private |
Definition at line 71 of file class.ilPersonalProfileGUI.php.
|
private |
Definition at line 70 of file class.ilPersonalProfileGUI.php.
|
private |
Definition at line 53 of file class.ilPersonalProfileGUI.php.
|
private |
Definition at line 76 of file class.ilPersonalProfileGUI.php.
|
private |
Definition at line 56 of file class.ilPersonalProfileGUI.php.
|
private |
Definition at line 59 of file class.ilPersonalProfileGUI.php.
|
private |
Definition at line 60 of file class.ilPersonalProfileGUI.php.
|
private |
Definition at line 49 of file class.ilPersonalProfileGUI.php.
Referenced by showChecklist().
|
private |
Definition at line 66 of file class.ilPersonalProfileGUI.php.
|
private |
Definition at line 67 of file class.ilPersonalProfileGUI.php.
|
private |
Definition at line 74 of file class.ilPersonalProfileGUI.php.
|
private |
Definition at line 54 of file class.ilPersonalProfileGUI.php.
Referenced by changeEmail().
|
private |
Definition at line 50 of file class.ilPersonalProfileGUI.php.
|
private |
Definition at line 64 of file class.ilPersonalProfileGUI.php.
const ilPersonalProfileGUI::CHANGE_EMAIL_CMD = 'changeEmail' |
Definition at line 47 of file class.ilPersonalProfileGUI.php.
Referenced by ILIAS\User\StaticURLHandler\buildChangeEmailUrl().
|
private |
Definition at line 46 of file class.ilPersonalProfileGUI.php.