ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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 $ilDB, and __read().
ilUserDefinedFields::__read | ( | ) |
Definition at line 472 of file class.ilUserDefinedFields.php.
References $ilSetting, $query, $res, $row, array, ilDBConstants\FETCHMODE_OBJECT, and ilUtil\sortArray().
Referenced by __construct(), add(), delete(), deleteValue(), and update().
|
static |
Get instance.
Definition at line 46 of file class.ilUserDefinedFields.php.
Referenced by ilUserSearchOptions\__appendUserDefinedFields(), ilObjUserGUI\__checkUserDefinedRequiredFields(), ilPersonalSettingsGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilCustomUserFieldsGUI\__construct(), ilPersonalProfileGUI\__construct(), ilAccountRegistrationGUI\__initForm(), ilObjUserGUI\__showUserDefinedFields(), ilMemberAgreementGUI\addExportFieldInfo(), ilUserDefinedData\addToXML(), ilCustomUserFieldsGUI\askDeleteField(), ilAuthProviderSaml\buildUserAttributeXml(), ilCustomUserFieldsGUI\create(), ilCustomUserFieldsGUI\deleteField(), ilObjUser\deleteUserDefinedFieldEntries(), ilPublicUserProfileGUI\getEmbeddable(), 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(), ilUserXMLWriter\start(), ilUserDefinedData\update(), ilCustomUserFieldsGUI\update(), ilCustomUserFieldsGUI\updateFields(), and ilMemberExport\write().
|
static |
Definition at line 598 of file class.ilUserDefinedFields.php.
Referenced by ilSoapInstallationInfoXMLWriter\__buildClient().
ilUserDefinedFields::add | ( | ) |
Definition at line 389 of file class.ilUserDefinedFields.php.
References $ilDB, __read(), array, 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 564 of file class.ilUserDefinedFields.php.
References $attributes, array, getDefinitions(), and UDF_TYPE_SELECT.
Referenced by toXML().
ilUserDefinedFields::delete | ( | $a_id | ) |
Definition at line 424 of file class.ilUserDefinedFields.php.
References $ilDB, $query, $res, __read(), and ilUserDefinedData\deleteEntriesOfField().
ilUserDefinedFields::deleteValue | ( | $a_field_id, | |
$a_value_id | |||
) |
Definition at line 519 of file class.ilUserDefinedFields.php.
References $counter, $ilDB, __read(), array, ilUserDefinedData\deleteFieldValue(), and getDefinition().
ilUserDefinedFields::enableCertificate | ( | $a_c | ) |
Definition at line 316 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enableChangeable | ( | $a_changeable | ) |
Definition at line 259 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enableChangeableLocalUserAdministration | ( | $a_changeable | ) |
Definition at line 267 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enableCourseExport | ( | $a_course_export | ) |
Definition at line 299 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enabledCertificate | ( | ) |
Definition at line 320 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledChangeable | ( | ) |
Definition at line 263 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledChangeableLocalUserAdministration | ( | ) |
Definition at line 271 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledCourseExport | ( | ) |
Definition at line 303 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledExport | ( | ) |
Definition at line 295 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledGroupExport | ( | ) |
Definition at line 311 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledRequired | ( | ) |
Definition at line 279 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledSearchable | ( | ) |
Definition at line 287 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledVisible | ( | ) |
Definition at line 247 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledVisibleLocalUserAdministration | ( | ) |
Definition at line 255 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledVisibleRegistration | ( | ) |
Definition at line 329 of file class.ilUserDefinedFields.php.
References $field_visible_registration.
Referenced by add(), and update().
ilUserDefinedFields::enableExport | ( | $a_export | ) |
Definition at line 291 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enableGroupExport | ( | $a_group_export | ) |
Definition at line 307 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enableRequired | ( | $a_required | ) |
Definition at line 275 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enableSearchable | ( | $a_searchable | ) |
Definition at line 283 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enableVisible | ( | $a_visible | ) |
Definition at line 243 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enableVisibleLocalUserAdministration | ( | $a_visible | ) |
Definition at line 251 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enableVisibleRegistration | ( | $a_visible_registration | ) |
Definition at line 325 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::fetchFieldIdFromImportId | ( | $a_import_id | ) |
ilUserDefinedFields::fetchFieldIdFromName | ( | $a_name | ) |
Definition at line 82 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::fieldValuesToSelectArray | ( | $a_values, | |
$a_with_selection_info = true |
|||
) |
mixed[] | $a_values | |
bool | $a_with |
Definition at line 339 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::getChangeableLocalUserAdministrationDefinitions | ( | ) |
Definition at line 122 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::getCourseExportableFields | ( | ) |
get
public
Definition at line 169 of file class.ilUserDefinedFields.php.
Referenced by getExportableFields().
ilUserDefinedFields::getDefinition | ( | $a_id | ) |
Definition at line 97 of file class.ilUserDefinedFields.php.
References array.
Referenced by deleteValue().
ilUserDefinedFields::getDefinitions | ( | ) |
Definition at line 92 of file class.ilUserDefinedFields.php.
References array.
Referenced by addToXML().
ilUserDefinedFields::getExportableFields | ( | $a_obj_id | ) |
Get exportable field.
int | $a_obj_id |
Definition at line 201 of file class.ilUserDefinedFields.php.
References ilObject\_lookupType(), array, getCourseExportableFields(), and getGroupExportableFields().
ilUserDefinedFields::getFieldName | ( | ) |
Definition at line 217 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::getFieldType | ( | ) |
Definition at line 225 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::getFieldValues | ( | ) |
Definition at line 238 of file class.ilUserDefinedFields.php.
References array.
Referenced by add(), update(), and validateValues().
ilUserDefinedFields::getGroupExportableFields | ( | ) |
get fields visible in groups
public
Definition at line 186 of file class.ilUserDefinedFields.php.
Referenced by getExportableFields().
ilUserDefinedFields::getLocalUserAdministrationDefinitions | ( | ) |
Definition at line 112 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::getRegistrationDefinitions | ( | ) |
Definition at line 132 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::getRequiredDefinitions | ( | ) |
Definition at line 152 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::getSearchableDefinitions | ( | ) |
Definition at line 142 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::getVisibleDefinitions | ( | ) |
Definition at line 102 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::nameExists | ( | $a_field_name | ) |
ilUserDefinedFields::setFieldName | ( | $a_name | ) |
Definition at line 213 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::setFieldType | ( | $a_type | ) |
Definition at line 221 of file class.ilUserDefinedFields.php.
References $a_type.
ilUserDefinedFields::setFieldValues | ( | $a_values | ) |
ilUserDefinedFields::toXML | ( | ) |
Definition at line 550 of file class.ilUserDefinedFields.php.
References addToXML().
ilUserDefinedFields::update | ( | $a_id | ) |
Definition at line 443 of file class.ilUserDefinedFields.php.
References $ilDB, __read(), array, enabledCertificate(), enabledChangeable(), enabledChangeableLocalUserAdministration(), enabledCourseExport(), enabledExport(), enabledGroupExport(), enabledRequired(), enabledSearchable(), enabledVisible(), enabledVisibleLocalUserAdministration(), enabledVisibleRegistration(), getFieldName(), getFieldType(), and getFieldValues().
ilUserDefinedFields::validateValues | ( | ) |
Definition at line 357 of file class.ilUserDefinedFields.php.
References array, 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().