ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Additional user data fields definition. More...
Static Public Member Functions | |
static | _getInstance () |
Get instance. More... | |
static | _newInstance () |
Data Fields | |
$db = null | |
$definitions = array() | |
Private Member Functions | |
__construct () | |
Constructor is private -> use getInstance These definition are used e.g in User XML import. More... | |
Private Attributes | |
$field_visible_registration = 0 | |
Additional user data fields definition.
Definition at line 19 of file class.ilUserDefinedFields.php.
|
private |
Constructor is private -> use getInstance These definition are used e.g in User XML import.
To avoid instances of this class for every user object during import, it caches this object in a singleton.
Definition at line 33 of file class.ilUserDefinedFields.php.
References $DIC, $ilDB, and __read().
ilUserDefinedFields::__read | ( | ) |
Definition at line 504 of file class.ilUserDefinedFields.php.
References $DIC, $ilSetting, $query, $res, $row, ilDBConstants\FETCHMODE_OBJECT, and ilUtil\sortArray().
Referenced by __construct(), add(), delete(), deleteValue(), and update().
|
static |
Get instance.
Definition at line 48 of file class.ilUserDefinedFields.php.
Referenced by ilUserSearchOptions\__appendUserDefinedFields(), ilObjUserGUI\__checkUserDefinedRequiredFields(), ilUserDefinedFieldsPlaceholderDescription\__construct(), ilPersonalSettingsGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilCustomUserFieldsGUI\__construct(), ilPersonalProfileGUI\__construct(), ilUserDefinedFieldsPlaceholderValues\__construct(), ilAccountRegistrationGUI\__initForm(), ilObjUserGUI\__showUserDefinedFields(), ilMemberAgreementGUI\addExportFieldInfo(), ilUserDefinedData\addToXML(), ilCustomUserFieldsGUI\askDeleteField(), ilAuthProviderSaml\buildUserAttributeXml(), ilCustomUserFieldsGUI\create(), ilCertificateUserDefinedFieldsHelper\createInstance(), ilCustomUserFieldsGUI\deleteField(), ilObjUser\deleteUserDefinedFieldEntries(), ilPublicUserProfileGUI\getEmbeddable(), ilCustomUserFieldsHelper\getFormPropertyForDefinition(), ilAttendanceList\getNonMemberUserData(), ilMemberExport\getOrderedExportableFields(), ilExportFieldsInfo\getSelectableFieldsInfo(), ilLPTableBaseGUI\getSelectableUserColumns(), ilSamlSettingsGUI\getUserAttributeMappingForm(), ilObjUserFolder\getUserDefinedExportFields(), ilObjUserGUI\getValues(), ilObjUserGUI\handleIgnoredRequiredFields(), ilUserImportParser\importEndTag(), ilMemberExportSettingsGUI\initForm(), ilMemberExportGUI\initSettingsForm(), ilLDAPAttributeToUser\initUserDefinedFields(), ilLDAPSettingsGUI\initUserDefinedFields(), ilUserProfile\isProfileIncomplete(), ilUserQuery\query(), ilAttendanceList\readOrderedExportableFields(), ilUserTableGUI\readUserDefinedFieldsDefinitions(), ilAccountRegistrationGUI\saveForm(), ilSamlSettingsGUI\saveUserAttributeMapping(), ilUserQuery\setUdfFilter(), ilUserXMLWriter\start(), ilUserDefinedData\update(), ilCustomUserFieldsGUI\update(), ilCustomUserFieldsGUI\updateFields(), and ilMemberExport\write().
|
static |
Definition at line 634 of file class.ilUserDefinedFields.php.
Referenced by ilSoapInstallationInfoXMLWriter\__buildClient().
ilUserDefinedFields::add | ( | ) |
Definition at line 415 of file class.ilUserDefinedFields.php.
References $DIC, $ilDB, $values, __read(), enabledCertificate(), enabledChangeable(), enabledChangeableLocalUserAdministration(), enabledCourseExport(), enabledExport(), enabledGroupExport(), enabledRequired(), enabledSearchable(), enabledVisible(), enabledVisibleLocalUserAdministration(), enabledVisibleRegistration(), getFieldName(), getFieldType(), and getFieldValues().
ilUserDefinedFields::addToXML | ( | $xml_writer | ) |
add user defined field data to xml (using usr dtd)
Definition at line 600 of file class.ilUserDefinedFields.php.
References $attributes, getDefinitions(), and UDF_TYPE_SELECT.
Referenced by toXML().
ilUserDefinedFields::delete | ( | $a_id | ) |
Definition at line 452 of file class.ilUserDefinedFields.php.
References $DIC, $ilDB, $query, $res, __read(), and ilUserDefinedData\deleteEntriesOfField().
ilUserDefinedFields::deleteValue | ( | $a_field_id, | |
$a_value_id | |||
) |
Definition at line 553 of file class.ilUserDefinedFields.php.
References $DIC, $ilDB, $values, __read(), ilUserDefinedData\deleteFieldValue(), and getDefinition().
ilUserDefinedFields::enableCertificate | ( | $a_c | ) |
Definition at line 340 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enableChangeable | ( | $a_changeable | ) |
Definition at line 283 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enableChangeableLocalUserAdministration | ( | $a_changeable | ) |
Definition at line 291 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enableCourseExport | ( | $a_course_export | ) |
Definition at line 323 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enabledCertificate | ( | ) |
Definition at line 344 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledChangeable | ( | ) |
Definition at line 287 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledChangeableLocalUserAdministration | ( | ) |
Definition at line 295 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledCourseExport | ( | ) |
Definition at line 327 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledExport | ( | ) |
Definition at line 319 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledGroupExport | ( | ) |
Definition at line 335 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledRequired | ( | ) |
Definition at line 303 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledSearchable | ( | ) |
Definition at line 311 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledVisible | ( | ) |
Definition at line 271 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledVisibleLocalUserAdministration | ( | ) |
Definition at line 279 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledVisibleRegistration | ( | ) |
Definition at line 353 of file class.ilUserDefinedFields.php.
References $field_visible_registration.
Referenced by add(), and update().
ilUserDefinedFields::enableExport | ( | $a_export | ) |
Definition at line 315 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enableGroupExport | ( | $a_group_export | ) |
Definition at line 331 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enableRequired | ( | $a_required | ) |
Definition at line 299 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enableSearchable | ( | $a_searchable | ) |
Definition at line 307 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enableVisible | ( | $a_visible | ) |
Definition at line 267 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enableVisibleLocalUserAdministration | ( | $a_visible | ) |
Definition at line 275 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enableVisibleRegistration | ( | $a_visible_registration | ) |
Definition at line 349 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::fetchFieldIdFromImportId | ( | $a_import_id | ) |
ilUserDefinedFields::fetchFieldIdFromName | ( | $a_name | ) |
Definition at line 86 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::fieldValuesToSelectArray | ( | $a_values, | |
$a_with_selection_info = true |
|||
) |
mixed[] | $a_values | |
bool | $a_with |
Definition at line 363 of file class.ilUserDefinedFields.php.
References $DIC, $lng, and $values.
ilUserDefinedFields::getChangeableLocalUserAdministrationDefinitions | ( | ) |
ilUserDefinedFields::getCourseExportableFields | ( | ) |
get
public
Definition at line 176 of file class.ilUserDefinedFields.php.
References $id.
Referenced by getExportableFields().
ilUserDefinedFields::getDefinition | ( | $a_id | ) |
Definition at line 104 of file class.ilUserDefinedFields.php.
Referenced by deleteValue().
ilUserDefinedFields::getDefinitions | ( | ) |
Definition at line 99 of file class.ilUserDefinedFields.php.
Referenced by addToXML().
ilUserDefinedFields::getExportableFields | ( | $a_obj_id | ) |
Get exportable field.
int | $a_obj_id |
Definition at line 208 of file class.ilUserDefinedFields.php.
References ilObject\_lookupType(), getCourseExportableFields(), and getGroupExportableFields().
ilUserDefinedFields::getFieldName | ( | ) |
Definition at line 224 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::getFieldType | ( | ) |
Definition at line 249 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::getFieldValues | ( | ) |
Definition at line 262 of file class.ilUserDefinedFields.php.
Referenced by add(), update(), and validateValues().
ilUserDefinedFields::getGroupExportableFields | ( | ) |
get fields visible in groups
public
Definition at line 193 of file class.ilUserDefinedFields.php.
References $id.
Referenced by getExportableFields().
ilUserDefinedFields::getLocalUserAdministrationDefinitions | ( | ) |
ilUserDefinedFields::getRegistrationDefinitions | ( | ) |
ilUserDefinedFields::getRequiredDefinitions | ( | ) |
ilUserDefinedFields::getSearchableDefinitions | ( | ) |
ilUserDefinedFields::getVisibleDefinitions | ( | ) |
ilUserDefinedFields::isPluginType | ( | ) |
Definition at line 233 of file class.ilUserDefinedFields.php.
References UDF_TYPE_SELECT, UDF_TYPE_TEXT, and UDF_TYPE_WYSIWYG.
ilUserDefinedFields::nameExists | ( | $a_field_name | ) |
ilUserDefinedFields::setFieldName | ( | $a_name | ) |
Definition at line 220 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::setFieldType | ( | $a_type | ) |
Definition at line 228 of file class.ilUserDefinedFields.php.
References $a_type.
ilUserDefinedFields::setFieldValues | ( | $a_values | ) |
Definition at line 253 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::toXML | ( | ) |
Definition at line 586 of file class.ilUserDefinedFields.php.
References addToXML().
ilUserDefinedFields::update | ( | $a_id | ) |
Definition at line 473 of file class.ilUserDefinedFields.php.
References $DIC, $ilDB, $values, __read(), enabledCertificate(), enabledChangeable(), enabledChangeableLocalUserAdministration(), enabledCourseExport(), enabledExport(), enabledGroupExport(), enabledRequired(), enabledSearchable(), enabledVisible(), enabledVisibleLocalUserAdministration(), enabledVisibleRegistration(), getFieldName(), getFieldType(), and getFieldValues().
ilUserDefinedFields::validateValues | ( | ) |
Definition at line 381 of file class.ilUserDefinedFields.php.
References getFieldValues(), UDF_DUPLICATE_VALUES, and UDF_NO_VALUES.
ilUserDefinedFields::$db = null |
Definition at line 21 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::$definitions = array() |
Definition at line 22 of file class.ilUserDefinedFields.php.
|
private |
Definition at line 24 of file class.ilUserDefinedFields.php.
Referenced by enabledVisibleRegistration().