ILIAS
Release_4_0_x_branch Revision 61816
|
Additional user data fields definition. More...
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 374 of file class.ilUserDefinedFields.php.
References $ilSetting, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by __construct(), add(), delete(), deleteValue(), and update().
ilUserDefinedFields::_getInstance | ( | ) |
Definition at line 42 of file class.ilUserDefinedFields.php.
Referenced by ilUserSearchOptions\__appendUserDefinedFields(), ilObjUserGUI\__checkUserDefinedRequiredFields(), ilCustomUserFieldSettingsTableGUI\__construct(), ilObjUserGUI\__showUserDefinedFields(), ilUserDefinedData\addToXML(), ilObjUserFolderGUI\askDeleteFieldObject(), ilAccountRegistrationGUI\checkUserDefinedRequiredFields(), ilMemberExport\createCSV(), ilObjUserFolderGUI\deleteFieldObject(), ilObjUserFolderGUI\deleteValueObject(), ilObjUserFolderGUI\editSelectFieldObject(), ilObjUserFolderGUI\editTextFieldObject(), ilObjUserFolderGUI\editWysiwygFieldObject(), ilPublicUserProfileGUI\getHTML(), ilExportUserSettings\getOrderedExportableFields(), ilObjUserFolder\getUserDefinedExportFields(), ilObjUserGUI\getValues(), ilPersonalProfileGUI\ilPersonalProfileGUI(), ilUserImportParser\importEndTag(), ilObjUserGUI\initForm(), ilLDAPAttributeToUser\initUserDefinedFields(), ilLDAPSettingsGUI\initUserDefinedFields(), ilObjUserFolderGUI\listUserDefinedFieldsObject(), ilObjUserFolderGUI\saveFieldObject(), ilMemberExportGUI\show(), ilAccountRegistrationGUI\showUserDefinedFields(), ilUserXMLWriter\start(), ilUserDefinedData\update(), ilObjUserFolderGUI\updateFieldsObject(), ilObjUserFolderGUI\updateSelectFieldObject(), ilObjUserFolderGUI\updateTextFieldObject(), and ilObjUserFolderGUI\updateWysiwygFieldObject().
ilUserDefinedFields::_newInstance | ( | ) |
Definition at line 492 of file class.ilUserDefinedFields.php.
Referenced by ilSoapInstallationInfoXMLWriter\__buildClient().
ilUserDefinedFields::add | ( | ) |
Definition at line 299 of file class.ilUserDefinedFields.php.
References $ilDB, __read(), enabledChangeable(), enabledCourseExport(), enabledExport(), enabledRequired(), enabledSearchable(), enabledVisible(), enabledVisibleRegistration(), getFieldName(), getFieldType(), and getFieldValues().
ilUserDefinedFields::addToXML | ( | $xml_writer | ) |
add user defined field data to xml (using usr dtd)
$xml_writer |
Definition at line 460 of file class.ilUserDefinedFields.php.
References getDefinitions(), and UDF_TYPE_SELECT.
Referenced by toXML().
ilUserDefinedFields::delete | ( | $a_id | ) |
Definition at line 330 of file class.ilUserDefinedFields.php.
References $ilDB, $query, $res, __read(), and ilUserDefinedData\deleteEntriesOfField().
ilUserDefinedFields::deleteValue | ( | $a_field_id, | |
$a_value_id | |||
) |
Definition at line 406 of file class.ilUserDefinedFields.php.
References $ilDB, __read(), ilUserDefinedData\deleteFieldValue(), and getDefinition().
ilUserDefinedFields::enableChangeable | ( | $a_changeable | ) |
Definition at line 204 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enableCourseExport | ( | $a_course_export | ) |
Definition at line 236 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enabledChangeable | ( | ) |
Definition at line 208 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledCourseExport | ( | ) |
Definition at line 240 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledExport | ( | ) |
Definition at line 232 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledRequired | ( | ) |
Definition at line 216 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledSearchable | ( | ) |
Definition at line 224 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledVisible | ( | ) |
Definition at line 200 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledVisibleRegistration | ( | ) |
Definition at line 249 of file class.ilUserDefinedFields.php.
References $field_visible_registration.
Referenced by add(), and update().
ilUserDefinedFields::enableExport | ( | $a_export | ) |
Definition at line 228 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enableRequired | ( | $a_required | ) |
Definition at line 212 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enableSearchable | ( | $a_searchable | ) |
Definition at line 220 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enableVisible | ( | $a_visible | ) |
Definition at line 196 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enableVisibleRegistration | ( | $a_visible_registration | ) |
Definition at line 245 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::fetchFieldIdFromImportId | ( | $a_import_id | ) |
Definition at line 53 of file class.ilUserDefinedFields.php.
References $ilSetting.
ilUserDefinedFields::fetchFieldIdFromName | ( | $a_name | ) |
Definition at line 85 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::fieldValuesToSelectArray | ( | $a_values | ) |
Definition at line 254 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::getCourseExportableFields | ( | ) |
get
public
Definition at line 151 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::getDefinition | ( | $a_id | ) |
Definition at line 102 of file class.ilUserDefinedFields.php.
Referenced by deleteValue().
ilUserDefinedFields::getDefinitions | ( | ) |
Definition at line 97 of file class.ilUserDefinedFields.php.
Referenced by addToXML().
ilUserDefinedFields::getFieldName | ( | ) |
Definition at line 168 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::getFieldType | ( | ) |
Definition at line 176 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::getFieldValues | ( | ) |
Definition at line 191 of file class.ilUserDefinedFields.php.
Referenced by add(), update(), and validateValues().
ilUserDefinedFields::getRegistrationDefinitions | ( | ) |
Definition at line 120 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::getSearchableDefinitions | ( | ) |
Definition at line 132 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::getVisibleDefinitions | ( | ) |
Definition at line 107 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::nameExists | ( | $a_field_name | ) |
ilUserDefinedFields::setFieldName | ( | $a_name | ) |
Definition at line 164 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::setFieldType | ( | $a_type | ) |
Definition at line 172 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::setFieldValues | ( | $a_values | ) |
Definition at line 180 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::toXML | ( | ) |
Definition at line 446 of file class.ilUserDefinedFields.php.
References addToXML().
ilUserDefinedFields::update | ( | $a_id | ) |
Definition at line 349 of file class.ilUserDefinedFields.php.
References $ilDB, __read(), enabledChangeable(), enabledCourseExport(), enabledExport(), enabledRequired(), enabledSearchable(), enabledVisible(), enabledVisibleRegistration(), getFieldName(), getFieldType(), and getFieldValues().
ilUserDefinedFields::validateValues | ( | ) |
Definition at line 263 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().