|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Collaboration diagram for ilCourseUserData: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.
@access public
| int | user id |
| int | field id |
Definition at line 48 of file class.ilCourseUserData.php.
References $DIC, $ilDB, and read().
Here is the call graph for this function:
|
static |
Check required fields.
@access public
| int | user id |
| int | object id |
Definition at line 106 of file class.ilCourseUserData.php.
References $DIC, $ilDB, $query, $res, ilCourseDefinedFieldDefinition\_getRequiredFieldIds(), and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilObjCourseGUI\checkAgreement(), ilObjGroupGUI\checkAgreement(), and ilMemberAgreementGUI\init().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Delete by field.
@access public
Definition at line 158 of file class.ilCourseUserData.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilCourseDefinedFieldDefinition\_deleteByContainer(), and ilCourseDefinedFieldDefinition\delete().
Here is the caller graph for this function:
|
static |
Delete all entries of an user.
@access public
| int | user_id |
Definition at line 140 of file class.ilCourseUserData.php.
|
static |
Get values by obj_id (for all users)
@access public
| int | obj_id |
Definition at line 71 of file class.ilCourseUserData.php.
References $DIC, $ilDB, $query, $res, ilCourseDefinedFieldDefinition\_getFieldIds(), and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilObjGroupGUI\addCustomData(), ilBookingReservationsTableGUI\getItems(), ilAttendanceList\getNonMemberUserData(), ilCourseMembershipGUI\getPrintMemberData(), ilCourseParticipantsTableGUI\parse(), ilGroupParticipantsTableGUI\parse(), ilMemberExport\readCourseSpecificFieldsData(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), and ilMemberAgreementGUI\setCourseDefinedFieldValues().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCourseUserData::create | ( | ) |
Add entry.
@access public
Definition at line 214 of file class.ilCourseUserData.php.
References $DIC, $ilDB, $query, $res, and getValue().
Referenced by update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCourseUserData::delete | ( | ) |
insert entry
@access public
Definition at line 196 of file class.ilCourseUserData.php.
| ilCourseUserData::getValue | ( | ) |
Definition at line 173 of file class.ilCourseUserData.php.
References $value.
Referenced by create().
Here is the caller graph for this function:
|
private |
Read value.
@access private
Definition at line 235 of file class.ilCourseUserData.php.
References $DIC, $ilDB, $query, $res, ilDBConstants\FETCHMODE_OBJECT, and setValue().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCourseUserData::setValue | ( | $a_value | ) |
Definition at line 169 of file class.ilCourseUserData.php.
Referenced by read().
Here is the caller graph for this function:| ilCourseUserData::update | ( | ) |
update value
@access public
Definition at line 184 of file class.ilCourseUserData.php.
References create().
Here is the call graph for this function:
|
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().