ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilUserDefinedData. More...
Public Member Functions | |
__construct ($a_usr_id) | |
getUserId () | |
set ($a_field, $a_value) | |
get ($a_field) | |
getAll () | |
Get all fields. More... | |
update () | |
Update data. More... | |
toXML () | |
addToXML ($xml_writer) | |
add user defined field data to xml (using usr dtd) More... | |
__read () | |
Static Public Member Functions | |
static | lookupData ($a_user_ids, $a_field_ids) |
Lookup data. More... | |
static | deleteEntriesOfUser ($a_user_id) |
Delete data of user. More... | |
static | deleteEntriesOfField ($a_field_id) |
Delete data of particular field. More... | |
static | deleteFieldValue ($a_field_id, $a_value) |
Delete data of particular value of a (selection) field. More... | |
Data Fields | |
$db = null | |
$user_data = array() | |
$usr_id = null | |
ilUserDefinedData::__construct | ( | $a_usr_id | ) |
Definition at line 18 of file class.ilUserDefinedData.php.
References $DIC, $ilDB, and __read().
ilUserDefinedData::__read | ( | ) |
Definition at line 241 of file class.ilUserDefinedData.php.
References $query, $res, $row, and ilDBConstants\FETCHMODE_ASSOC.
Referenced by __construct().
ilUserDefinedData::addToXML | ( | $xml_writer | ) |
add user defined field data to xml (using usr dtd)
ilXmlWriter | $xml_writer |
Definition at line 223 of file class.ilUserDefinedData.php.
References ilUserDefinedFields\_getInstance().
Referenced by toXML().
|
static |
Delete data of particular field.
int | field id |
Definition at line 174 of file class.ilUserDefinedData.php.
Referenced by ilUserDefinedFields\delete().
|
static |
Delete data of user.
int | user id |
Definition at line 153 of file class.ilUserDefinedData.php.
Referenced by ilObjUser\deleteUserDefinedFieldEntries().
|
static |
Delete data of particular value of a (selection) field.
int | field id |
string | value |
Definition at line 196 of file class.ilUserDefinedData.php.
Referenced by ilUserDefinedFields\deleteValue(), and ilCustomUserFieldsGUI\update().
ilUserDefinedData::get | ( | $a_field | ) |
Definition at line 74 of file class.ilUserDefinedData.php.
ilUserDefinedData::getAll | ( | ) |
ilUserDefinedData::getUserId | ( | ) |
Definition at line 65 of file class.ilUserDefinedData.php.
References $usr_id.
Referenced by update().
|
static |
Lookup data.
array | $a_user_ids | |
array | $a_field_ids |
Definition at line 36 of file class.ilUserDefinedData.php.
References $DIC, $ilDB, $query, $res, $row, ilDBConstants\FETCHMODE_ASSOC, and ilCustomUserFieldsHelper\getInstance().
Referenced by ilLearningSequenceParticipantsTableGUI\parse(), ilGroupParticipantsTableGUI\parse(), ilCourseParticipantsTableGUI\parse(), ilRepositoryUserResultTableGUI\parseUserIds(), ilSubscriberTableGUI\readSubscriberData(), and ilWaitingListTableGUI\readUserData().
ilUserDefinedData::set | ( | $a_field, | |
$a_value | |||
) |
Definition at line 70 of file class.ilUserDefinedData.php.
Referenced by ilUserImportParser\importEndTag().
ilUserDefinedData::toXML | ( | ) |
Definition at line 209 of file class.ilUserDefinedData.php.
References addToXML().
ilUserDefinedData::update | ( | ) |
Update data.
Definition at line 90 of file class.ilUserDefinedData.php.
References $DIC, $ilDB, ilUserDefinedFields\_getInstance(), getUserId(), and UDF_TYPE_WYSIWYG.
ilUserDefinedData::$db = null |
Definition at line 14 of file class.ilUserDefinedData.php.
ilUserDefinedData::$user_data = array() |
Definition at line 15 of file class.ilUserDefinedData.php.
Referenced by getAll().
ilUserDefinedData::$usr_id = null |
Definition at line 16 of file class.ilUserDefinedData.php.
Referenced by getUserId().