ILIAS
Release_4_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 | 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 190 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 171 of file class.ilUserDefinedData.php.
References ilUserDefinedFields\_getInstance().
Referenced by toXML().
|
static |
Delete data of particular field.
int | field id |
Definition at line 129 of file class.ilUserDefinedData.php.
References $ilDB.
Referenced by ilUserDefinedFields\delete().
|
static |
Delete data of user.
int | user id |
Definition at line 112 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 147 of file class.ilUserDefinedData.php.
References $ilDB.
Referenced by ilUserDefinedFields\deleteValue().
ilUserDefinedData::get | ( | $a_field | ) |
Definition at line 37 of file class.ilUserDefinedData.php.
ilUserDefinedData::getAll | ( | ) |
ilUserDefinedData::getUserId | ( | ) |
Definition at line 28 of file class.ilUserDefinedData.php.
References $usr_id.
Referenced by update().
ilUserDefinedData::ilUserDefinedData | ( | $a_usr_id | ) |
ilUserDefinedData::set | ( | $a_field, | |
$a_value | |||
) |
Definition at line 33 of file class.ilUserDefinedData.php.
Referenced by ilUserImportParser\importEndTag().
ilUserDefinedData::toXML | ( | ) |
Definition at line 157 of file class.ilUserDefinedData.php.
References addToXML().
ilUserDefinedData::update | ( | ) |
Update data.
Definition at line 53 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().