| ILIAS
    Release_4_3_x_branch Revision 61807
    | 
Class ilUserProfile. More...
 Collaboration diagram for ilUserProfile:
 Collaboration diagram for ilUserProfile:| Public Member Functions | |
| __construct () | |
| Constructor. | |
| getStandardFields () | |
| Get standard user fields array. | |
| getLocalUserAdministrationFields () | |
| Get visible fields in local user administration. | |
| skipGroup ($a_group) | |
| Skip a group. | |
| skipField ($a_field) | |
| Skip a field. | |
| addStandardFieldsToForm ($a_form, $a_user=NULL, array $custom_fields=NULL) | |
| Add standard fields to form. | |
| Static Public Member Functions | |
| static | userSettingVisible ($a_setting) | 
| Checks whether user setting is visible. | |
| 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. | |
| static | getIgnorableRequiredSettings () | 
| Returns an array of all ignorable profiel fields. | |
| 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. | |
| Static Private Attributes | |
| static | $mode = self::MODE_DESKTOP | 
| static | $user_field | 
| ilUserProfile::__construct | ( | ) | 
Constructor.
Definition at line 305 of file class.ilUserProfile.php.
| ilUserProfile::addStandardFieldsToForm | ( | $a_form, | |
| $a_user = NULL, | |||
| array | $custom_fields = NULL | ||
| ) | 
Add standard fields to form.
Definition at line 375 of file class.ilUserProfile.php.
References $ilSetting, $lng, ilObjUser\_getPersonalPicturePath(), ilObjRole\_lookupRegisterAllowed(), getStandardFields(), IL_CAL_DATE, MODE_REGISTRATION, ilDateTime\setDate(), ilRadioOption\setDisabled(), ilFormPropertyGUI\setDisabled(), ilSelectInputGUI\setOptions(), ilFormPropertyGUI\setRequired(), ilTextInputGUI\setValue(), ilEMailInputGUI\setValue(), ilSelectInputGUI\setValue(), ilRadioGroupInputGUI\setValue(), ilNonEditableValueGUI\setValue(), ilTextAreaInputGUI\setValue(), and userSettingVisible().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
Returns an array of all ignorable profiel fields.
Definition at line 902 of file class.ilUserProfile.php.
References $ilSetting.
Referenced by ilObjUserGUI\handleIgnoredRequiredFields().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilUserProfile::getLocalUserAdministrationFields | ( | ) | 
Get visible fields in local user administration.
Definition at line 334 of file class.ilUserProfile.php.
References $ilSetting, and getStandardFields().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilUserProfile::getStandardFields | ( | ) | 
Get standard user fields array.
Definition at line 314 of file class.ilUserProfile.php.
Referenced by addStandardFieldsToForm(), and getLocalUserAdministrationFields().
 Here is the caller graph for this function:
 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 | 
Definition at line 873 of file class.ilUserProfile.php.
References $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 815 of file class.ilUserProfile.php.
References $ilSetting.
Referenced by ilUserImportParser\checkProfileIncomplete(), ilAuthBase\loginObserver(), ilObjUserGUI\saveObject(), and ilObjUserGUI\updateObject().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
| ilUserProfile::skipField | ( | $a_field | ) | 
Skip a field.
Definition at line 367 of file class.ilUserProfile.php.
| ilUserProfile::skipGroup | ( | $a_group | ) | 
Skip a group.
Definition at line 359 of file class.ilUserProfile.php.
| 
 | static | 
Checks whether user setting is visible.
Definition at line 777 of file class.ilUserProfile.php.
References $ilSetting.
Referenced by addStandardFieldsToForm(), and ilUserDataSet\importRecord().
 Here is the caller graph for this function:
 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\__createUser(), ilAccountRegistrationGUI\__initForm(), and addStandardFieldsToForm().