|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
GUI class for personal profile. More...
Collaboration diagram for ilPersonalProfileGUI:Public Member Functions | |
| __construct (\ilTermsOfServiceDocumentEvaluation $termsOfServiceEvaluation=null) | |
| constructor More... | |
| executeCommand () | |
| execute command More... | |
| workWithUserSetting (string $setting) | |
| userSettingVisible (string $setting) | |
| userSettingEnabled (string $setting) | |
| 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, $key_suffix="") | |
| 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 | |
| $user_defined_fields = null | |
Protected Member Functions | |
| showUserAgreement () | |
| getProfilePortfolio () | |
| has profile set to a portfolio? More... | |
| getCheckedValues () | |
| Get checked values. More... | |
| showChecklist ($active_step) | |
| Show checklist. More... | |
Protected Attributes | |
| $lng | |
| $ctrl | |
| $tabs | |
| $termsOfServiceEvaluation | |
| $checklist | |
| $user_settings_config | |
| $checklist_status | |
GUI class for personal profile.
@ilCtrl_Calls ilPersonalProfileGUI: ilPublicUserProfileGUI, ilUserPrivacySettingsGUI
Definition at line 12 of file class.ilPersonalProfileGUI.php.
| ilPersonalProfileGUI::__construct | ( | \ilTermsOfServiceDocumentEvaluation | $termsOfServiceEvaluation = null | ) |
constructor
| \ilTermsOfServiceDocumentEvaluation | null | $termsOfServiceEvaluation |
Definition at line 53 of file class.ilPersonalProfileGUI.php.
References $DIC, $termsOfServiceEvaluation, ilUserDefinedFields\_getInstance(), and user().
Here is the call graph for this function:| ilPersonalProfileGUI::__checkUserDefinedRequiredFields | ( | ) |
Definition at line 701 of file class.ilPersonalProfileGUI.php.
References $_POST.
Referenced by saveProfile().
Here is the caller graph for this function:| ilPersonalProfileGUI::__showOtherInformations | ( | ) |
Definition at line 636 of file class.ilPersonalProfileGUI.php.
References userSettingVisible().
Here is the call graph for this function:| ilPersonalProfileGUI::__showUserDefinedFields | ( | ) |
Definition at line 646 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 526 of file class.ilPersonalProfileGUI.php.
References $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::executeCommand | ( | ) |
execute command
Definition at line 89 of file class.ilPersonalProfileGUI.php.
References $_GET, $DIC, $ilCtrl, $ilUser, $lng, $tpl, setHeader(), setTabs(), showChecklist(), and ilProfileChecklistStatus\STEP_VISIBILITY_OPTIONS.
Here is the call graph for this function:| ilPersonalProfileGUI::exportPersonalData | ( | ) |
Export personal data.
Definition at line 1413 of file class.ilPersonalProfileGUI.php.
|
protected |
Get checked values.
Definition at line 1352 of file class.ilPersonalProfileGUI.php.
References $_POST.
|
protected |
has profile set to a portfolio?
Definition at line 999 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 1516 of file class.ilPersonalProfileGUI.php.
| ilPersonalProfileGUI::importPersonalDataSelection | ( | ) |
Import personal data selection.
return
Definition at line 1446 of file class.ilPersonalProfileGUI.php.
| ilPersonalProfileGUI::initPersonalDataForm | ( | ) |
Init personal form.
Definition at line 782 of file class.ilPersonalProfileGUI.php.
References $DIC, $ilSetting, $ilUser, $lng, addLocationToForm(), and ilCustomUserFieldsHelper\getInstance().
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 1470 of file class.ilPersonalProfileGUI.php.
| ilPersonalProfileGUI::initPublicProfileForm | ( | ) |
Init public profile form.
| int | $a_mode | Edit Mode |
Definition at line 1017 of file class.ilPersonalProfileGUI.php.
References $DIC, $ilSetting, $ilUser, and $lng.
| ilPersonalProfileGUI::removeUserPicture | ( | ) |
remove user image
Definition at line 227 of file class.ilPersonalProfileGUI.php.
References $DIC, $ilUser, and saveProfile().
Here is the call graph for this function:| ilPersonalProfileGUI::savePersonalData | ( | ) |
Save personal data form.
Definition at line 837 of file class.ilPersonalProfileGUI.php.
References $DIC, Vendor\Package\$e, Vendor\Package\$f, $ilCtrl, $ilSetting, $ilUser, $lng, $location, $tpl, ilObjUser\_loginExists(), IL_CAL_DATE, initPersonalDataForm(), ilMapUtil\isActivated(), ilUtil\isLogin(), ilUtil\sendFailure(), ilProfileChecklistStatus\STEP_PROFILE_DATA, ilUtil\stripSlashes(), and uploadUserPicture().
Here is the call graph for this function:| ilPersonalProfileGUI::saveProfile | ( | ) |
save user profile data
Definition at line 243 of file class.ilPersonalProfileGUI.php.
References $_POST, $DIC, $GLOBALS, $ilSetting, $ilUser, __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 1258 of file class.ilPersonalProfileGUI.php.
References $_POST, $_SESSION, $DIC, $GLOBALS, $ilCtrl, $ilUser, $lng, $tpl, ilSession\get(), ilBadgeHandler\getInstance(), ilUtil\redirect(), ilSession\set(), ilProfileChecklistStatus\STEP_PUBLISH_OPTIONS, ilLuceneIndexer\updateLuceneIndex(), and ilBadgeAssignment\updatePositions().
Here is the call graph for this function:| ilPersonalProfileGUI::setHeader | ( | ) |
Set header.
Definition at line 715 of file class.ilPersonalProfileGUI.php.
Referenced by executeCommand(), and showPersonalData().
Here is the caller graph for this function:| ilPersonalProfileGUI::setTabs | ( | ) |
Definition at line 581 of file class.ilPersonalProfileGUI.php.
Referenced by executeCommand().
Here is the caller graph for this function:
|
protected |
Show checklist.
| int |
Definition at line 1550 of file class.ilPersonalProfileGUI.php.
References $tpl.
Referenced by executeCommand(), and showPersonalData().
Here is the caller graph for this function:| ilPersonalProfileGUI::showExportImport | ( | ) |
Show export/import.
return
Definition at line 1372 of file class.ilPersonalProfileGUI.php.
References $DIC, $ilCtrl, $ilUser, $tpl, and ilLinkButton\getInstance().
Here is the call graph for this function:| ilPersonalProfileGUI::showPersonalData | ( | $a_no_init = false, |
|
$a_migration_started = false |
|||
| ) |
Personal data form.
Definition at line 729 of file class.ilPersonalProfileGUI.php.
References $_GET, $ctrl, $DIC, $ilUser, $lng, initPersonalDataForm(), ilUtil\sendInfo(), setHeader(), showChecklist(), and ilProfileChecklistStatus\STEP_PROFILE_DATA.
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 484 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 977 of file class.ilPersonalProfileGUI.php.
References ilProfileChecklistStatus\STEP_PUBLISH_OPTIONS.
| ilPersonalProfileGUI::showPublicProfileFields | ( | ilPropertyformGUI | $form, |
| array | $prefs, | ||
$parent = null, |
|||
$anonymized = false, |
|||
$key_suffix = "" |
|||
| ) |
Add fields to form.
| ilPropertyformGUI | $form | |
| array | $prefs | |
| object | $parent | |
| bool | $a_anonymized |
Definition at line 1090 of file class.ilPersonalProfileGUI.php.
References $DIC, $ilUser, ilLink\_getLink(), ilObjUser\_getPersonalPicturePath(), ilDatePresentation\formatDate(), ilBadgeHandler\getInstance(), ilBadgeAssignment\getInstancesByUserId(), IL_CAL_DATE, ilMapUtil\isActivated(), and user().
Here is the call graph for this function:
|
protected |
Definition at line 492 of file class.ilPersonalProfileGUI.php.
References $tpl, ilSystemSupportContacts\getMailsToAddress(), ilTermsOfServiceHelper\isEnabled(), and ilUtil\prepareFormOutput().
Here is the call graph for this function:| ilPersonalProfileGUI::uploadUserPicture | ( | ) |
Upload user image.
Definition at line 160 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 | ( | string | $setting | ) |
| string | $setting |
Definition at line 152 of file class.ilPersonalProfileGUI.php.
| ilPersonalProfileGUI::userSettingVisible | ( | string | $setting | ) |
| string | $setting |
Definition at line 143 of file class.ilPersonalProfileGUI.php.
Referenced by __showOtherInformations().
Here is the caller graph for this function:| ilPersonalProfileGUI::workWithUserSetting | ( | string | $setting | ) |
| string | $setting |
Definition at line 134 of file class.ilPersonalProfileGUI.php.
Referenced by saveProfile(), and uploadUserPicture().
Here is the caller graph for this function:
|
protected |
Definition at line 37 of file class.ilPersonalProfileGUI.php.
|
protected |
Definition at line 47 of file class.ilPersonalProfileGUI.php.
|
protected |
Definition at line 24 of file class.ilPersonalProfileGUI.php.
Referenced by showPersonalData().
|
protected |
Definition at line 19 of file class.ilPersonalProfileGUI.php.
Referenced by executeCommand(), initPersonalDataForm(), savePersonalData(), and showPersonalData().
|
protected |
Definition at line 29 of file class.ilPersonalProfileGUI.php.
|
protected |
Definition at line 32 of file class.ilPersonalProfileGUI.php.
Referenced by __construct().
| ilPersonalProfileGUI::$tpl |
Definition at line 14 of file class.ilPersonalProfileGUI.php.
Referenced by executeCommand(), savePersonalData(), and showUserAgreement().
| ilPersonalProfileGUI::$user_defined_fields = null |
Definition at line 26 of file class.ilPersonalProfileGUI.php.
|
protected |
Definition at line 42 of file class.ilPersonalProfileGUI.php.