ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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 $ilDB, and __read().
ilUserDefinedData::__read | ( | ) |
Definition at line 218 of file class.ilUserDefinedData.php.
References $query, $res, $row, array, 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 200 of file class.ilUserDefinedData.php.
References ilUserDefinedFields\_getInstance(), and array.
Referenced by toXML().
|
static |
Delete data of particular field.
int | field id |
Definition at line 155 of file class.ilUserDefinedData.php.
References $ilDB.
Referenced by ilUserDefinedFields\delete().
|
static |
Delete data of user.
int | user id |
Definition at line 136 of file class.ilUserDefinedData.php.
References $ilDB.
Referenced by ilObjUser\deleteUserDefinedFieldEntries().
|
static |
Delete data of particular value of a (selection) field.
int | field id |
string | value |
Definition at line 175 of file class.ilUserDefinedData.php.
References $ilDB.
Referenced by ilUserDefinedFields\deleteValue(), and ilCustomUserFieldsGUI\update().
ilUserDefinedData::get | ( | $a_field | ) |
Definition at line 59 of file class.ilUserDefinedData.php.
ilUserDefinedData::getAll | ( | ) |
ilUserDefinedData::getUserId | ( | ) |
Definition at line 50 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 34 of file class.ilUserDefinedData.php.
References $ilDB, $query, $res, $row, array, and ilDBConstants\FETCHMODE_ASSOC.
Referenced by ilGroupParticipantsTableGUI\parse(), ilCourseParticipantsTableGUI\parse(), ilRepositoryUserResultTableGUI\parseUserIds(), ilSubscriberTableGUI\readSubscriberData(), and ilWaitingListTableGUI\readUserData().
ilUserDefinedData::set | ( | $a_field, | |
$a_value | |||
) |
Definition at line 55 of file class.ilUserDefinedData.php.
Referenced by ilUserImportParser\importEndTag().
ilUserDefinedData::toXML | ( | ) |
Definition at line 186 of file class.ilUserDefinedData.php.
References addToXML().
ilUserDefinedData::update | ( | ) |
Update data.
Definition at line 75 of file class.ilUserDefinedData.php.
References $ilDB, ilUserDefinedFields\_getInstance(), array, 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().