| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
Additional user data fields definition. More...
 Collaboration diagram for ilUserDefinedFields:
 Collaboration diagram for ilUserDefinedFields:| 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().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilUserDefinedFields::__read | ( | ) | 
Definition at line 468 of file class.ilUserDefinedFields.php.
References $ilSetting, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by __construct(), add(), delete(), deleteValue(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Get instance.
Definition at line 46 of file class.ilUserDefinedFields.php.
Referenced by ilUserSearchOptions\__appendUserDefinedFields(), ilObjUserGUI\__checkUserDefinedRequiredFields(), ilCustomUserFieldSettingsTableGUI\__construct(), ilAccountRegistrationGUI\__createUser(), ilAccountRegistrationGUI\__initForm(), ilObjUserGUI\__showUserDefinedFields(), ilUserDefinedData\addToXML(), ilObjUserFolderGUI\askDeleteFieldObject(), ilObjUserFolderGUI\deleteFieldObject(), ilObjUserFolderGUI\deleteValueObject(), ilObjUserFolderGUI\editSelectFieldObject(), ilObjUserFolderGUI\editTextFieldObject(), ilObjUserFolderGUI\editWysiwygFieldObject(), ilPublicUserProfileGUI\getHTML(), ilExportUserSettings\getOrderedExportableFields(), ilTrObjectUsersPropsTableGUI\getSelectableColumns(), ilExportFieldsInfo\getSelectableFieldsInfo(), ilObjUserFolder\getUserDefinedExportFields(), ilObjUserGUI\getValues(), ilPersonalProfileGUI\ilPersonalProfileGUI(), ilUserImportParser\importEndTag(), ilObjUserGUI\initForm(), ilLDAPAttributeToUser\initUserDefinedFields(), ilLDAPSettingsGUI\initUserDefinedFields(), ilObjUserFolderGUI\listUserDefinedFieldsObject(), ilObjUserFolderGUI\saveFieldObject(), ilMemberExportGUI\show(), ilUserXMLWriter\start(), ilUserDefinedData\update(), ilObjUserFolderGUI\updateFieldsObject(), ilObjUserFolderGUI\updateSelectFieldObject(), ilObjUserFolderGUI\updateTextFieldObject(), ilObjUserFolderGUI\updateWysiwygFieldObject(), and ilMemberExport\write().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilUserDefinedFields::_newInstance | ( | ) | 
Definition at line 588 of file class.ilUserDefinedFields.php.
Referenced by ilSoapInstallationInfoXMLWriter\__buildClient().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilUserDefinedFields::add | ( | ) | 
Definition at line 387 of file class.ilUserDefinedFields.php.
References $ilDB, __read(), enabledChangeable(), enabledChangeableLocalUserAdministration(), enabledCourseExport(), enabledExport(), enabledGroupExport(), enabledRequired(), enabledSearchable(), enabledVisible(), enabledVisibleLocalUserAdministration(), enabledVisibleRegistration(), getFieldName(), getFieldType(), and getFieldValues().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilUserDefinedFields::addToXML | ( | $xml_writer | ) | 
add user defined field data to xml (using usr dtd)
| $xml_writer | 
Definition at line 552 of file class.ilUserDefinedFields.php.
References getDefinitions(), and UDF_TYPE_SELECT.
Referenced by toXML().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilUserDefinedFields::delete | ( | $a_id | ) | 
Definition at line 421 of file class.ilUserDefinedFields.php.
References $ilDB, $query, $res, __read(), and ilUserDefinedData\deleteEntriesOfField().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilUserDefinedFields::deleteValue | ( | $a_field_id, | |
| $a_value_id | |||
| ) | 
Definition at line 503 of file class.ilUserDefinedFields.php.
References $ilDB, __read(), ilUserDefinedData\deleteFieldValue(), and getDefinition().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilUserDefinedFields::enableChangeable | ( | $a_changeable | ) | 
Definition at line 276 of file class.ilUserDefinedFields.php.
| ilUserDefinedFields::enableChangeableLocalUserAdministration | ( | $a_changeable | ) | 
Definition at line 284 of file class.ilUserDefinedFields.php.
| ilUserDefinedFields::enableCourseExport | ( | $a_course_export | ) | 
Definition at line 316 of file class.ilUserDefinedFields.php.
| ilUserDefinedFields::enabledChangeable | ( | ) | 
Definition at line 280 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilUserDefinedFields::enabledChangeableLocalUserAdministration | ( | ) | 
Definition at line 288 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilUserDefinedFields::enabledCourseExport | ( | ) | 
Definition at line 320 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilUserDefinedFields::enabledExport | ( | ) | 
Definition at line 312 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilUserDefinedFields::enabledGroupExport | ( | ) | 
Definition at line 328 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilUserDefinedFields::enabledRequired | ( | ) | 
Definition at line 296 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilUserDefinedFields::enabledSearchable | ( | ) | 
Definition at line 304 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilUserDefinedFields::enabledVisible | ( | ) | 
Definition at line 264 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilUserDefinedFields::enabledVisibleLocalUserAdministration | ( | ) | 
Definition at line 272 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilUserDefinedFields::enabledVisibleRegistration | ( | ) | 
Definition at line 337 of file class.ilUserDefinedFields.php.
References $field_visible_registration.
Referenced by add(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilUserDefinedFields::enableExport | ( | $a_export | ) | 
Definition at line 308 of file class.ilUserDefinedFields.php.
| ilUserDefinedFields::enableGroupExport | ( | $a_group_export | ) | 
Definition at line 324 of file class.ilUserDefinedFields.php.
| ilUserDefinedFields::enableRequired | ( | $a_required | ) | 
Definition at line 292 of file class.ilUserDefinedFields.php.
| ilUserDefinedFields::enableSearchable | ( | $a_searchable | ) | 
Definition at line 300 of file class.ilUserDefinedFields.php.
| ilUserDefinedFields::enableVisible | ( | $a_visible | ) | 
Definition at line 260 of file class.ilUserDefinedFields.php.
| ilUserDefinedFields::enableVisibleLocalUserAdministration | ( | $a_visible | ) | 
Definition at line 268 of file class.ilUserDefinedFields.php.
| ilUserDefinedFields::enableVisibleRegistration | ( | $a_visible_registration | ) | 
Definition at line 333 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 342 of file class.ilUserDefinedFields.php.
| ilUserDefinedFields::getChangeableLocalUserAdministrationDefinitions | ( | ) | 
Definition at line 135 of file class.ilUserDefinedFields.php.
| ilUserDefinedFields::getCourseExportableFields | ( | ) | 
get
public
Definition at line 178 of file class.ilUserDefinedFields.php.
Referenced by getExportableFields().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilUserDefinedFields::getDefinition | ( | $a_id | ) | 
Definition at line 106 of file class.ilUserDefinedFields.php.
Referenced by deleteValue().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilUserDefinedFields::getDefinitions | ( | ) | 
Definition at line 101 of file class.ilUserDefinedFields.php.
Referenced by addToXML().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilUserDefinedFields::getExportableFields | ( | $a_obj_id | ) | 
Get exportable field.
| int | $a_obj_id | 
Definition at line 214 of file class.ilUserDefinedFields.php.
References ilObject\_lookupType(), getCourseExportableFields(), and getGroupExportableFields().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilUserDefinedFields::getFieldName | ( | ) | 
Definition at line 232 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilUserDefinedFields::getFieldType | ( | ) | 
Definition at line 240 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilUserDefinedFields::getFieldValues | ( | ) | 
Definition at line 255 of file class.ilUserDefinedFields.php.
Referenced by add(), update(), and validateValues().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilUserDefinedFields::getGroupExportableFields | ( | ) | 
get fields visible in groups
public
Definition at line 197 of file class.ilUserDefinedFields.php.
Referenced by getExportableFields().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilUserDefinedFields::getLocalUserAdministrationDefinitions | ( | ) | 
Definition at line 123 of file class.ilUserDefinedFields.php.
| ilUserDefinedFields::getRegistrationDefinitions | ( | ) | 
Definition at line 147 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 228 of file class.ilUserDefinedFields.php.
| ilUserDefinedFields::setFieldType | ( | $a_type | ) | 
Definition at line 236 of file class.ilUserDefinedFields.php.
| ilUserDefinedFields::setFieldValues | ( | $a_values | ) | 
Definition at line 244 of file class.ilUserDefinedFields.php.
| ilUserDefinedFields::toXML | ( | ) | 
Definition at line 538 of file class.ilUserDefinedFields.php.
References addToXML().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilUserDefinedFields::update | ( | $a_id | ) | 
Definition at line 440 of file class.ilUserDefinedFields.php.
References $ilDB, __read(), enabledChangeable(), enabledChangeableLocalUserAdministration(), enabledCourseExport(), enabledExport(), enabledGroupExport(), enabledRequired(), enabledSearchable(), enabledVisible(), enabledVisibleLocalUserAdministration(), enabledVisibleRegistration(), getFieldName(), getFieldType(), and getFieldValues().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilUserDefinedFields::validateValues | ( | ) | 
Definition at line 351 of file class.ilUserDefinedFields.php.
References getFieldValues(), UDF_DUPLICATE_VALUES, and UDF_NO_VALUES.
 Here is the call graph for this function:
 Here is the call graph for this function:| 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().