ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Public Member Functions | |
__construct ($a_user_id, $a_field_id=0) | |
Contructor. More... | |
setValue ($a_value) | |
getValue () | |
update () | |
update value More... | |
delete () | |
insert entry More... | |
create () | |
Add entry. More... | |
Static Public Member Functions | |
static | _getValuesByObjId ($a_obj_id) |
Get values by obj_id (for all users) More... | |
static | _checkRequired ($a_usr_id, $a_obj_id) |
Check required fields. More... | |
static | _deleteByUser ($a_user_id) |
Delete all entries of an user. More... | |
static | _deleteByField ($a_field_id) |
Delete by field. More... | |
Private Member Functions | |
read () | |
Read value. More... | |
Private Attributes | |
$db | |
$user_id | |
$field_id | |
$value | |
Definition at line 32 of file class.ilCourseUserData.php.
ilCourseUserData::__construct | ( | $a_user_id, | |
$a_field_id = 0 |
|||
) |
Contructor.
public
int | user id |
int | field id |
Definition at line 48 of file class.ilCourseUserData.php.
|
static |
Check required fields.
public
int | user id |
int | object id |
Definition at line 105 of file class.ilCourseUserData.php.
References $ilDB, $query, $res, $row, ilCourseDefinedFieldDefinition\_getRequiredFieldIds(), and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilObjGroupGUI\checkAgreement(), ilObjCourseGUI\checkAgreement(), and ilMemberAgreementGUI\init().
|
static |
Delete by field.
public
Definition at line 155 of file class.ilCourseUserData.php.
References $ilDB, $query, and $res.
Referenced by ilCourseDefinedFieldDefinition\_deleteByContainer(), and ilCourseDefinedFieldDefinition\delete().
|
static |
Delete all entries of an user.
public
int | user_id |
Definition at line 138 of file class.ilCourseUserData.php.
References $ilDB, $query, and $res.
|
static |
Get values by obj_id (for all users)
public
int | obj_id |
Definition at line 70 of file class.ilCourseUserData.php.
References $ilDB, $query, $res, $row, ilCourseDefinedFieldDefinition\_getFieldIds(), array, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilObjGroupGUI\addCustomData(), ilAttendanceList\getNonMemberUserData(), ilCourseMembershipGUI\getPrintMemberData(), ilGroupParticipantsTableGUI\parse(), ilCourseParticipantsTableGUI\parse(), ilMemberExport\readCourseSpecificFieldsData(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), and ilMemberAgreementGUI\setCourseDefinedFieldValues().
ilCourseUserData::create | ( | ) |
Add entry.
public
Definition at line 207 of file class.ilCourseUserData.php.
References $ilDB, $query, $res, and getValue().
Referenced by update().
ilCourseUserData::delete | ( | ) |
insert entry
public
Definition at line 191 of file class.ilCourseUserData.php.
References $ilDB, $query, and $res.
ilCourseUserData::getValue | ( | ) |
Definition at line 168 of file class.ilCourseUserData.php.
References $value.
Referenced by create().
|
private |
Read value.
private
Definition at line 226 of file class.ilCourseUserData.php.
References $ilDB, $query, $res, $row, ilDBConstants\FETCHMODE_OBJECT, and setValue().
Referenced by __construct().
ilCourseUserData::setValue | ( | $a_value | ) |
Definition at line 164 of file class.ilCourseUserData.php.
Referenced by read(), ilMemberAgreementGUI\saveCourseDefinedFields(), and ilRegistrationGUI\validateCustomFields().
ilCourseUserData::update | ( | ) |
update value
public
Definition at line 179 of file class.ilCourseUserData.php.
References create().
|
private |
Definition at line 34 of file class.ilCourseUserData.php.
|
private |
Definition at line 36 of file class.ilCourseUserData.php.
|
private |
Definition at line 35 of file class.ilCourseUserData.php.
|
private |
Definition at line 37 of file class.ilCourseUserData.php.
Referenced by getValue().