ILIAS
Release_5_0_x_branch Revision 61816
|
Class ilUserDefinedData. More...
Public Member Functions | |
ilUserDefinedData ($a_usr_id) | |
getUserId () | |
set ($a_field, $a_value) | |
get ($a_field) | |
getAll () | |
Get all fields. | |
update () | |
Update data. | |
toXML () | |
addToXML ($xml_writer) | |
add user defined field data to xml (using usr dtd) | |
__read () |
Static Public Member Functions | |
static | lookupData ($a_user_ids, $a_field_ids) |
Lookup data. | |
static | deleteEntriesOfUser ($a_user_id) |
Delete data of user. | |
static | deleteEntriesOfField ($a_field_id) |
Delete data of particular field. | |
static | deleteFieldValue ($a_field_id, $a_value) |
Delete data of particular value of a (selection) field. |
Data Fields | |
$db = null | |
$user_data = array() | |
$usr_id = null |
Class ilUserDefinedData.
Definition at line 12 of file class.ilUserDefinedData.php.
ilUserDefinedData::__read | ( | ) |
Definition at line 213 of file class.ilUserDefinedData.php.
References $query, $res, $row, and DB_FETCHMODE_ASSOC.
Referenced by ilUserDefinedData().
ilUserDefinedData::addToXML | ( | $xml_writer | ) |
add user defined field data to xml (using usr dtd)
ilXmlWriter | $xml_writer |
Definition at line 194 of file class.ilUserDefinedData.php.
References ilUserDefinedFields\_getInstance().
Referenced by toXML().
|
static |
Delete data of particular field.
int | field id |
Definition at line 152 of file class.ilUserDefinedData.php.
References $ilDB.
Referenced by ilUserDefinedFields\delete().
|
static |
Delete data of user.
int | user id |
Definition at line 135 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 170 of file class.ilUserDefinedData.php.
References $ilDB.
Referenced by ilUserDefinedFields\deleteValue(), and ilCustomUserFieldsGUI\update().
ilUserDefinedData::get | ( | $a_field | ) |
Definition at line 60 of file class.ilUserDefinedData.php.
ilUserDefinedData::getAll | ( | ) |
ilUserDefinedData::getUserId | ( | ) |
Definition at line 51 of file class.ilUserDefinedData.php.
References $usr_id.
Referenced by update().
ilUserDefinedData::ilUserDefinedData | ( | $a_usr_id | ) |
|
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, and DB_FETCHMODE_ASSOC.
Referenced by ilGroupParticipantsTableGUI\parse(), ilCourseParticipantsTableGUI\parse(), ilRepositoryUserResultTableGUI\parseUserIds(), ilSubscriberTableGUI\readSubscriberData(), and ilWaitingListTableGUI\readUserData().
ilUserDefinedData::set | ( | $a_field, | |
$a_value | |||
) |
Definition at line 56 of file class.ilUserDefinedData.php.
Referenced by ilUserImportParser\importEndTag().
ilUserDefinedData::toXML | ( | ) |
Definition at line 180 of file class.ilUserDefinedData.php.
References addToXML().
ilUserDefinedData::update | ( | ) |
Update data.
Definition at line 76 of file class.ilUserDefinedData.php.
References $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().