ILIAS
Release_3_10_x_branch Revision 61812
|
Public Member Functions | |
_getInstance () | |
fetchFieldIdFromImportId ($a_import_id) | |
fetchFieldIdFromName ($a_name) | |
getDefinitions () | |
getDefinition ($a_id) | |
getVisibleDefinitions () | |
getSearchableDefinitions () | |
getCourseExportableFields () | |
get | |
setFieldName ($a_name) | |
getFieldName () | |
setFieldType ($a_type) | |
getFieldType () | |
setFieldValues ($a_values) | |
getFieldValues () | |
enableVisible ($a_visible) | |
enabledVisible () | |
enableChangeable ($a_changeable) | |
enabledChangeable () | |
enableRequired ($a_required) | |
enabledRequired () | |
enableSearchable ($a_searchable) | |
enabledSearchable () | |
enableExport ($a_export) | |
enabledExport () | |
enableCourseExport ($a_course_export) | |
enabledCourseExport () | |
fieldValuesToSelectArray ($a_values) | |
validateValues () | |
nameExists ($a_field_name) | |
add () | |
delete ($a_id) | |
update ($a_id) | |
__read () | |
deleteValue ($a_field_id, $a_value_id) | |
toXML () | |
addToXML ($xml_writer) | |
add user defined field data to xml (using usr dtd) | |
_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. |
Definition at line 38 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 51 of file class.ilUserDefinedFields.php.
References __read().
ilUserDefinedFields::__read | ( | ) |
Definition at line 360 of file class.ilUserDefinedFields.php.
References $ilSetting, $res, and DB_FETCHMODE_OBJECT.
Referenced by __construct(), add(), delete(), deleteValue(), and update().
ilUserDefinedFields::_getInstance | ( | ) |
Definition at line 60 of file class.ilUserDefinedFields.php.
Referenced by ilUserSearchOptions\__appendUserDefinedFields(), ilObjUserGUI\__checkUserDefinedRequiredFields(), ilObjUserGUI\__showUserDefinedFields(), ilUserDefinedData\addToXML(), ilObjUserFolderGUI\askDeleteFieldObject(), ilRegistrationGUI\checkUserDefinedRequiredFields(), ilMemberExport\createCSV(), ilObjUserFolderGUI\deleteFieldObject(), ilObjUserFolderGUI\deleteValueObject(), ilObjUserFolderGUI\editSelectFieldObject(), ilObjUserFolderGUI\editTextFieldObject(), ilExportUserSettings\getOrderedExportableFields(), ilObjUserGUI\getValues(), ilPersonalProfileGUI\ilPersonalProfileGUI(), ilUserImportParser\importEndTag(), ilObjUserGUI\initForm(), ilLDAPAttributeToUser\initUserDefinedFields(), ilLDAPSettingsGUI\initUserDefinedFields(), ilObjUserFolderGUI\listUserDefinedFieldsObject(), ilObjUserFolderGUI\saveFieldObject(), ilMemberExportGUI\show(), ilRegistrationGUI\showUserDefinedFields(), ilUserXMLWriter\start(), ilUserDefinedData\update(), ilObjUserFolderGUI\updateFieldsObject(), ilObjUserFolderGUI\updateSelectFieldObject(), and ilObjUserFolderGUI\updateTextFieldObject().
ilUserDefinedFields::_newInstance | ( | ) |
Definition at line 471 of file class.ilUserDefinedFields.php.
Referenced by ilSoapInstallationInfoXMLWriter\__buildClient().
ilUserDefinedFields::add | ( | ) |
Definition at line 295 of file class.ilUserDefinedFields.php.
References __read(), enabledChangeable(), enabledCourseExport(), enabledExport(), enabledRequired(), enabledSearchable(), enabledVisible(), getFieldName(), getFieldType(), and getFieldValues().
ilUserDefinedFields::addToXML | ( | $xml_writer | ) |
add user defined field data to xml (using usr dtd)
$xml_writer |
Definition at line 440 of file class.ilUserDefinedFields.php.
References getDefinitions(), and UDF_TYPE_SELECT.
Referenced by toXML().
ilUserDefinedFields::delete | ( | $a_id | ) |
Definition at line 321 of file class.ilUserDefinedFields.php.
References __read().
ilUserDefinedFields::deleteValue | ( | $a_field_id, | |
$a_value_id | |||
) |
Definition at line 391 of file class.ilUserDefinedFields.php.
References __read(), and getDefinition().
ilUserDefinedFields::enableChangeable | ( | $a_changeable | ) |
Definition at line 209 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enableCourseExport | ( | $a_course_export | ) |
Definition at line 241 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enabledChangeable | ( | ) |
Definition at line 213 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledCourseExport | ( | ) |
Definition at line 245 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledExport | ( | ) |
Definition at line 237 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledRequired | ( | ) |
Definition at line 221 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledSearchable | ( | ) |
Definition at line 229 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enabledVisible | ( | ) |
Definition at line 205 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::enableExport | ( | $a_export | ) |
Definition at line 233 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enableRequired | ( | $a_required | ) |
Definition at line 217 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enableSearchable | ( | $a_searchable | ) |
Definition at line 225 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::enableVisible | ( | $a_visible | ) |
Definition at line 201 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::fetchFieldIdFromImportId | ( | $a_import_id | ) |
Definition at line 71 of file class.ilUserDefinedFields.php.
References $ilSetting.
ilUserDefinedFields::fetchFieldIdFromName | ( | $a_name | ) |
Definition at line 103 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::fieldValuesToSelectArray | ( | $a_values | ) |
Definition at line 251 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::getCourseExportableFields | ( | ) |
get
public
Definition at line 156 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::getDefinition | ( | $a_id | ) |
Definition at line 120 of file class.ilUserDefinedFields.php.
Referenced by deleteValue().
ilUserDefinedFields::getDefinitions | ( | ) |
Definition at line 115 of file class.ilUserDefinedFields.php.
Referenced by addToXML().
ilUserDefinedFields::getFieldName | ( | ) |
Definition at line 173 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::getFieldType | ( | ) |
Definition at line 181 of file class.ilUserDefinedFields.php.
Referenced by add(), and update().
ilUserDefinedFields::getFieldValues | ( | ) |
Definition at line 196 of file class.ilUserDefinedFields.php.
Referenced by add(), update(), and validateValues().
ilUserDefinedFields::getSearchableDefinitions | ( | ) |
Definition at line 137 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::getVisibleDefinitions | ( | ) |
Definition at line 125 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::nameExists | ( | $a_field_name | ) |
Definition at line 285 of file class.ilUserDefinedFields.php.
References $res.
ilUserDefinedFields::setFieldName | ( | $a_name | ) |
Definition at line 169 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::setFieldType | ( | $a_type | ) |
Definition at line 177 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::setFieldValues | ( | $a_values | ) |
Definition at line 185 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::toXML | ( | ) |
Definition at line 426 of file class.ilUserDefinedFields.php.
References addToXML().
ilUserDefinedFields::update | ( | $a_id | ) |
Definition at line 337 of file class.ilUserDefinedFields.php.
References __read(), enabledChangeable(), enabledCourseExport(), enabledExport(), enabledRequired(), enabledSearchable(), enabledVisible(), getFieldName(), getFieldType(), and getFieldValues().
ilUserDefinedFields::validateValues | ( | ) |
Definition at line 260 of file class.ilUserDefinedFields.php.
References getFieldValues(), UDF_DUPLICATE_VALUES, and UDF_NO_VALUES.
ilUserDefinedFields::$db = null |
Definition at line 40 of file class.ilUserDefinedFields.php.
ilUserDefinedFields::$definitions = array() |
Definition at line 41 of file class.ilUserDefinedFields.php.