ILIAS
Release_4_0_x_branch Revision 61816
|
Public Member Functions | |
__construct ($a_user_id, $a_field_id=0) | |
Contructor. | |
setValue ($a_value) | |
getValue () | |
update () | |
update value | |
delete () | |
insert entry | |
create () | |
Add entry. |
Static Public Member Functions | |
static | _getValuesByObjId ($a_obj_id) |
Get values by obj_id (for all users) | |
static | _checkRequired ($a_usr_id, $a_obj_id) |
Check required fields. | |
static | _deleteByUser ($a_user_id) |
Delete all entries of an user. | |
static | _deleteByField ($a_field_id) |
Delete by field. |
Private Member Functions | |
read () | |
Read value. |
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 DB_FETCHMODE_OBJECT.
Referenced by ilObjCourseGUI\checkAgreement(), and ilCourseAgreementGUI\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.
|
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(), and DB_FETCHMODE_OBJECT.
Referenced by ilMemberExport\readCourseSpecificFieldsData().
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 | ( | ) |
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, DB_FETCHMODE_OBJECT, and setValue().
Referenced by __construct().
ilCourseUserData::setValue | ( | $a_value | ) |
Definition at line 164 of file class.ilCourseUserData.php.
Referenced by ilCourseAgreementGUI\checkCourseDefinedFields(), read(), and ilCourseRegistrationGUI\validateCourseDefinedFields().
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().