|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilUserProfile. More...
Collaboration diagram for ilUserProfile:Public Member Functions | |
| __construct () | |
| Constructor. More... | |
| getStandardFields () | |
| Get standard user fields array. More... | |
| getLocalUserAdministrationFields () | |
| Get visible fields in local user administration. More... | |
| skipGroup ($a_group) | |
| Skip a group. More... | |
| skipField ($a_field) | |
| Skip a field. More... | |
| addStandardFieldsToForm ($a_form, $a_user=null, array $custom_fields=null) | |
| Add standard fields to form. More... | |
| setAjaxCallback ($a_href) | |
Static Public Member Functions | |
| static | userSettingVisible ($a_setting) |
| Checks whether user setting is visible. More... | |
| static | setMode ($mode) |
| static | isProfileIncomplete ($a_user, $a_include_udf=true, $a_personal_data_only=true) |
| Check if all required personal data fields are set. More... | |
| static | getIgnorableRequiredSettings () |
| Returns an array of all ignorable profiel fields. More... | |
Data Fields | |
| const | MODE_DESKTOP = 1 |
| const | MODE_REGISTRATION = 2 |
Static Protected Member Functions | |
| static | isEditableByUser ($setting) |
| Returns whether a profile setting is editable by an user in the profile gui. More... | |
Static Private Attributes | |
| static | $mode = self::MODE_DESKTOP |
| static | $user_field |
| ilUserProfile::__construct | ( | ) |
Constructor.
Definition at line 373 of file class.ilUserProfile.php.
| ilUserProfile::addStandardFieldsToForm | ( | $a_form, | |
$a_user = null, |
|||
| array | $custom_fields = null |
||
| ) |
Add standard fields to form.
Definition at line 448 of file class.ilUserProfile.php.
References $DIC, $f, $ii, $ilSetting, $lng, $m, PHPMailer\PHPMailer\$options, ilObjRole\_lookupRegisterAllowed(), ilUtil\getPasswordRequirementsInfo(), getStandardFields(), IL_CAL_DATE, MODE_REGISTRATION, and userSettingVisible().
Here is the call graph for this function:
|
static |
Returns an array of all ignorable profiel fields.
@global ilSetting
Definition at line 922 of file class.ilUserProfile.php.
References $DIC, and $ilSetting.
Referenced by ilObjUserGUI\handleIgnoredRequiredFields().
Here is the caller graph for this function:| ilUserProfile::getLocalUserAdministrationFields | ( | ) |
Get visible fields in local user administration.
Definition at line 409 of file class.ilUserProfile.php.
References $DIC, $ilSetting, $info, and getStandardFields().
Here is the call graph for this function:| ilUserProfile::getStandardFields | ( | ) |
Get standard user fields array.
Definition at line 391 of file class.ilUserProfile.php.
References $f.
Referenced by addStandardFieldsToForm(), and getLocalUserAdministrationFields().
Here is the caller graph for this function:
|
staticprotected |
Returns whether a profile setting is editable by an user in the profile gui.
| string | A key of a profile setting |
@global ilSetting
Definition at line 892 of file class.ilUserProfile.php.
References $DIC, and $ilSetting.
|
static |
Check if all required personal data fields are set.
| ilObjUser | $a_user | |
| bool | $a_include_udf | check custom fields, too |
| bool | $a_personal_data_only | only check fields which are visible in personal data |
Definition at line 839 of file class.ilUserProfile.php.
References $DIC, and $ilSetting.
Referenced by ilUserImportParser\checkProfileIncomplete(), ilAuthFrontend\handleAuthenticationSuccess(), ilAuthBase\loginObserver(), ilObjUserGUI\saveObject(), and ilObjUserGUI\updateObject().
Here is the caller graph for this function:| ilUserProfile::setAjaxCallback | ( | $a_href | ) |
Definition at line 794 of file class.ilUserProfile.php.
|
static |
Definition at line 818 of file class.ilUserProfile.php.
| ilUserProfile::skipField | ( | $a_field | ) |
Skip a field.
Definition at line 440 of file class.ilUserProfile.php.
| ilUserProfile::skipGroup | ( | $a_group | ) |
Skip a group.
Definition at line 432 of file class.ilUserProfile.php.
|
static |
Checks whether user setting is visible.
Definition at line 802 of file class.ilUserProfile.php.
References $DIC, and $ilSetting.
Referenced by addStandardFieldsToForm(), and ilUserDataSet\importRecord().
Here is the caller graph for this function:
|
staticprivate |
Definition at line 20 of file class.ilUserProfile.php.
Referenced by setMode().
|
staticprivate |
Definition at line 46 of file class.ilUserProfile.php.
| const ilUserProfile::MODE_DESKTOP = 1 |
Definition at line 17 of file class.ilUserProfile.php.
| const ilUserProfile::MODE_REGISTRATION = 2 |
Definition at line 18 of file class.ilUserProfile.php.
Referenced by ilAccountRegistrationGUI\__initForm(), and addStandardFieldsToForm().