ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (int $a_usr_id) | |
getUserId () | |
set (string $a_field, string $a_value) | |
get (string $a_field) | |
getAll () | |
update () | |
toXML () | |
addToXML (ilXmlWriter $xml_writer) | |
add user defined field data to xml (using usr dtd) More... | |
__read () | |
Static Public Member Functions | |
static | lookupData (array $a_user_ids, array $a_field_ids) |
Lookup data. More... | |
static | deleteEntriesOfUser (int $a_user_id) |
static | deleteEntriesOfField (int $a_field_id) |
Delete data of particular field. More... | |
static | deleteFieldValue (int $a_field_id, string $a_value) |
Delete data of particular value of a (selection) field. More... | |
Data Fields | |
ilDBInterface | $db = null |
array | $user_data = [] |
int | $usr_id = null |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilUserDefinedData
Definition at line 23 of file class.ilUserDefinedData.php.
ilUserDefinedData::__construct | ( | int | $a_usr_id | ) |
Definition at line 29 of file class.ilUserDefinedData.php.
References $DIC, $ilDB, and __read().
ilUserDefinedData::__read | ( | ) |
Definition at line 213 of file class.ilUserDefinedData.php.
References $res, and ilDBConstants\FETCHMODE_ASSOC.
Referenced by __construct().
ilUserDefinedData::addToXML | ( | ilXmlWriter | $xml_writer | ) |
add user defined field data to xml (using usr dtd)
Definition at line 196 of file class.ilUserDefinedData.php.
References ilUserDefinedFields\_getInstance(), and ilXmlWriter\xmlElement().
Referenced by toXML().
|
static |
Delete data of particular field.
Definition at line 150 of file class.ilUserDefinedData.php.
Referenced by ilUserDefinedFields\delete().
|
static |
Definition at line 131 of file class.ilUserDefinedData.php.
Referenced by ilObjUser\deleteUserDefinedFieldEntries().
|
static |
Delete data of particular value of a (selection) field.
Definition at line 169 of file class.ilUserDefinedData.php.
Referenced by ilUserDefinedFields\deleteValue(), and ilCustomUserFieldsGUI\update().
ilUserDefinedData::get | ( | string | $a_field | ) |
Definition at line 82 of file class.ilUserDefinedData.php.
Referenced by ilMemberExport\addUserDefinedField().
ilUserDefinedData::getAll | ( | ) |
Definition at line 90 of file class.ilUserDefinedData.php.
ilUserDefinedData::getUserId | ( | ) |
Definition at line 72 of file class.ilUserDefinedData.php.
References $usr_id.
Referenced by ilMemberExport\addUserDefinedField(), and update().
|
static |
Lookup data.
Definition at line 44 of file class.ilUserDefinedData.php.
References $DIC, $ilDB, XapiProxy\$plugin, $res, $user_id, ilDBConstants\FETCHMODE_ASSOC, and ilCustomUserFieldsHelper\getInstance().
Referenced by ilGroupParticipantsTableGUI\parse(), ilLearningSequenceParticipantsTableGUI\parse(), ilCourseParticipantsTableGUI\parse(), ilRepositoryUserResultTableGUI\parseUserIds(), ilSubscriberTableGUI\readSubscriberData(), and ilWaitingListTableGUI\readUserData().
ilUserDefinedData::set | ( | string | $a_field, |
string | $a_value | ||
) |
Definition at line 77 of file class.ilUserDefinedData.php.
Referenced by ilUserImportParser\importEndTag().
ilUserDefinedData::toXML | ( | ) |
Definition at line 184 of file class.ilUserDefinedData.php.
References addToXML().
ilUserDefinedData::update | ( | ) |
Definition at line 98 of file class.ilUserDefinedData.php.
References $DIC, $ilDB, ilUserDefinedFields\_getInstance(), getUserId(), and UDF_TYPE_WYSIWYG.
ilDBInterface ilUserDefinedData::$db = null |
Definition at line 25 of file class.ilUserDefinedData.php.
array ilUserDefinedData::$user_data = [] |
Definition at line 26 of file class.ilUserDefinedData.php.
int ilUserDefinedData::$usr_id = null |
Definition at line 27 of file class.ilUserDefinedData.php.
Referenced by getUserId().