ILIAS
Release_5_0_x_branch Revision 61816
|
Additional user data fields definition. More...
Static Public Member Functions | |
static | _getInstance () |
Get instance. |
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. |
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 491 of file class.ilUserDefinedFields.php.
References $ilSetting, $query, $res, $row, and DB_FETCHMODE_OBJECT.
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(), ilAccountRegistrationGUI\__initForm(), ilObjUserGUI\__showUserDefinedFields(), ilUserDefinedData\addToXML(), ilCustomUserFieldsGUI\askDeleteField(), ilCustomUserFieldsGUI\create(), ilCustomUserFieldsGUI\deleteField(), ilPublicUserProfileGUI\getEmbeddable(), ilMemberExport\getOrderedExportableFields(), ilExportFieldsInfo\getSelectableFieldsInfo(), ilLPTableBaseGUI\getSelectableUserColumns(), ilObjUserFolder\getUserDefinedExportFields(), ilObjUserGUI\getValues(), ilObjUserGUI\handleIgnoredRequiredFields(), ilPersonalProfileGUI\ilPersonalProfileGUI(), ilUserImportParser\importEndTag(), ilObjUserGUI\initForm(), ilLDAPAttributeToUser\initUserDefinedFields(), ilLDAPSettingsGUI\initUserDefinedFields(), ilMemberExportGUI\show(), ilUserXMLWriter\start(), ilUserDefinedData\update(), ilCustomUserFieldsGUI\update(), ilCustomUserFieldsGUI\updateFields(), and ilMemberExport\write().
ilUserDefinedFields::_newInstance | ( | ) |
Definition at line 615 of file class.ilUserDefinedFields.php.
Referenced by ilSoapInstallationInfoXMLWriter\__buildClient().
ilUserDefinedFields::add | ( | ) |
Definition at line 408 of file class.ilUserDefinedFields.php.
References $ilDB, __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)
$xml_writer |
Definition at line 578 of file class.ilUserDefinedFields.php.
References getDefinitions(), and UDF_TYPE_SELECT.
Referenced by toXML().
ilUserDefinedFields::delete | ( | $a_id | ) |
Definition at line 443 of file class.ilUserDefinedFields.php.
References $ilDB, $query, $res, __read(), and ilUserDefinedData\deleteEntriesOfField().
ilUserDefinedFields::deleteValue | ( | $a_field_id, | |
$a_value_id | |||
) |
Definition at line 529 of file class.ilUserDefinedFields.php.
References $ilDB, __read(), ilUserDefinedData\deleteFieldValue(), and getDefinition().
ilUserDefinedFields::enableCertificate | ( | $a_c | ) |
Definition at line 345 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enableChangeable | ( | $a_changeable | ) |
Definition at line 288 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enableChangeableLocalUserAdministration | ( | $a_changeable | ) |
Definition at line 296 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enableCourseExport | ( | $a_course_export | ) |
Definition at line 328 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enabledCertificate | ( | ) |
Definition at line 349 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledChangeable | ( | ) |
Definition at line 292 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledChangeableLocalUserAdministration | ( | ) |
Definition at line 300 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledCourseExport | ( | ) |
Definition at line 332 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledExport | ( | ) |
Definition at line 324 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledGroupExport | ( | ) |
Definition at line 340 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledRequired | ( | ) |
Definition at line 308 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledSearchable | ( | ) |
Definition at line 316 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledVisible | ( | ) |
Definition at line 276 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledVisibleLocalUserAdministration | ( | ) |
Definition at line 284 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledVisibleRegistration | ( | ) |
Definition at line 358 of file class.ilUserDefinedFields.php.
References $field_visible_registration.
Referenced by add(), and update().
ilUserDefinedFields::enableExport | ( | $a_export | ) |
Definition at line 320 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enableGroupExport | ( | $a_group_export | ) |
Definition at line 336 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enableRequired | ( | $a_required | ) |
Definition at line 304 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enableSearchable | ( | $a_searchable | ) |
Definition at line 312 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enableVisible | ( | $a_visible | ) |
Definition at line 272 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enableVisibleLocalUserAdministration | ( | $a_visible | ) |
Definition at line 280 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enableVisibleRegistration | ( | $a_visible_registration | ) |
Definition at line 354 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::fetchFieldIdFromImportId | ( | $a_import_id | ) |
Definition at line 57 of file class.ilUserDefinedFields.php.
References $ilSetting.
ilUserDefinedFields::fetchFieldIdFromName | ( | $a_name | ) |
Definition at line 89 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::fieldValuesToSelectArray | ( | $a_values | ) |
Definition at line 363 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::getChangeableLocalUserAdministrationDefinitions | ( | ) |
Definition at line 135 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::getCourseExportableFields | ( | ) |
get
public
Definition at line 190 of file class.ilUserDefinedFields.php.
Referenced by getExportableFields().
ilUserDefinedFields::getDefinition | ( | $a_id | ) |
Definition at line 106 of file class.ilUserDefinedFields.php.
Referenced by deleteValue().
ilUserDefinedFields::getDefinitions | ( | ) |
Definition at line 101 of file class.ilUserDefinedFields.php.
Referenced by addToXML().
ilUserDefinedFields::getExportableFields | ( | $a_obj_id | ) |
Get exportable field.
int | $a_obj_id |
Definition at line 226 of file class.ilUserDefinedFields.php.
References ilObject\_lookupType(), getCourseExportableFields(), and getGroupExportableFields().
ilUserDefinedFields::getFieldName | ( | ) |
Definition at line 244 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::getFieldType | ( | ) |
Definition at line 252 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::getFieldValues | ( | ) |
Definition at line 267 of file class.ilUserDefinedFields.php.
Referenced by add(), update(), and validateValues().
ilUserDefinedFields::getGroupExportableFields | ( | ) |
get fields visible in groups
public
Definition at line 209 of file class.ilUserDefinedFields.php.
Referenced by getExportableFields().
ilUserDefinedFields::getLocalUserAdministrationDefinitions | ( | ) |
Definition at line 123 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::getRegistrationDefinitions | ( | ) |
Definition at line 147 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::getRequiredDefinitions | ( | ) |
Definition at line 171 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::getSearchableDefinitions | ( | ) |
Definition at line 159 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::getVisibleDefinitions | ( | ) |
Definition at line 111 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::nameExists | ( | $a_field_name | ) |
ilUserDefinedFields::setFieldName | ( | $a_name | ) |
Definition at line 240 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::setFieldType | ( | $a_type | ) |
Definition at line 248 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::setFieldValues | ( | $a_values | ) |
Definition at line 256 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::toXML | ( | ) |
Definition at line 564 of file class.ilUserDefinedFields.php.
References addToXML().
ilUserDefinedFields::update | ( | $a_id | ) |
Definition at line 462 of file class.ilUserDefinedFields.php.
References $ilDB, __read(), enabledCertificate(), enabledChangeable(), enabledChangeableLocalUserAdministration(), enabledCourseExport(), enabledExport(), enabledGroupExport(), enabledRequired(), enabledSearchable(), enabledVisible(), enabledVisibleLocalUserAdministration(), enabledVisibleRegistration(), getFieldName(), getFieldType(), and getFieldValues().
ilUserDefinedFields::validateValues | ( | ) |
Definition at line 372 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().