ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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.
References $DIC, $ilDB, and read().
|
static |
Check required fields.
public
int | user id |
int | object id |
Definition at line 106 of file class.ilCourseUserData.php.
References $DIC, $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 158 of file class.ilCourseUserData.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilCourseDefinedFieldDefinition\_deleteByContainer(), and ilCourseDefinedFieldDefinition\delete().
|
static |
|
static |
Get values by obj_id (for all users)
public
int | obj_id |
Definition at line 71 of file class.ilCourseUserData.php.
References $DIC, $ilDB, $query, $res, $row, ilCourseDefinedFieldDefinition\_getFieldIds(), and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilObjGroupGUI\addCustomData(), ilBookingReservationsTableGUI\getItems(), 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 214 of file class.ilCourseUserData.php.
References $DIC, $ilDB, $query, $res, and getValue().
Referenced by update().
ilCourseUserData::delete | ( | ) |
ilCourseUserData::getValue | ( | ) |
Definition at line 173 of file class.ilCourseUserData.php.
References $value.
Referenced by create().
|
private |
Read value.
private
Definition at line 235 of file class.ilCourseUserData.php.
References $DIC, $ilDB, $query, $res, $row, ilDBConstants\FETCHMODE_OBJECT, and setValue().
Referenced by __construct().
ilCourseUserData::setValue | ( | $a_value | ) |
Definition at line 169 of file class.ilCourseUserData.php.
Referenced by read(), ilMemberAgreementGUI\saveCourseDefinedFields(), and ilRegistrationGUI\validateCustomFields().
ilCourseUserData::update | ( | ) |
update value
public
Definition at line 184 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().