|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Class ilUserDefinedData. More...
Collaboration diagram for ilUserDefinedData:Public Member Functions | |
| ilUserDefinedData ($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::__read | ( | ) |
Definition at line 213 of file class.ilUserDefinedData.php.
References $query, $res, $row, and DB_FETCHMODE_ASSOC.
Referenced by ilUserDefinedData().
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Delete data of particular field.
| int | field id |
Definition at line 152 of file class.ilUserDefinedData.php.
References $ilDB.
Referenced by ilUserDefinedFields\delete().
Here is the caller graph for this function:
|
static |
Delete data of user.
| int | user id |
Definition at line 135 of file class.ilUserDefinedData.php.
References $ilDB.
Referenced by ilObjUser\deleteUserDefinedFieldEntries().
Here is the caller graph for this function:
|
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().
Here is the caller graph for this function:| ilUserDefinedData::get | ( | $a_field | ) |
Definition at line 60 of file class.ilUserDefinedData.php.
| ilUserDefinedData::getAll | ( | ) |
Get all fields.
Definition at line 68 of file class.ilUserDefinedData.php.
References $user_data.
| ilUserDefinedData::getUserId | ( | ) |
Definition at line 51 of file class.ilUserDefinedData.php.
References $usr_id.
Referenced by update().
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| ilUserDefinedData::set | ( | $a_field, | |
| $a_value | |||
| ) |
Definition at line 56 of file class.ilUserDefinedData.php.
| ilUserDefinedData::toXML | ( | ) |
Definition at line 180 of file class.ilUserDefinedData.php.
References addToXML().
Here is the call graph for this function:| ilUserDefinedData::update | ( | ) |
Update data.
Definition at line 76 of file class.ilUserDefinedData.php.
References $ilDB, ilUserDefinedFields\_getInstance(), getUserId(), and UDF_TYPE_WYSIWYG.
Here is the call graph for this function:| 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().