ILIAS
Release_3_10_x_branch Revision 61812
|
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.
References read().
|
static |
Check required fields.
public
int | user id |
int | object id |
Definition at line 105 of file class.ilCourseUserData.php.
References $res, ilCourseDefinedFieldDefinition\_getRequiredFieldIds(), DB_FETCHMODE_OBJECT, and ilUtil\quoteArray().
Referenced by ilObjCourseGUI\checkAgreement(), and ilCourseAgreementGUI\init().
|
static |
Delete by field.
public
Definition at line 152 of file class.ilCourseUserData.php.
Referenced by ilCourseDefinedFieldDefinition\_deleteByContainer(), and ilCourseDefinedFieldDefinition\delete().
|
static |
Delete all entries of an user.
public
int | user_id |
Definition at line 135 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 $res, ilCourseDefinedFieldDefinition\_getFieldIds(), DB_FETCHMODE_OBJECT, and ilUtil\quoteArray().
Referenced by ilMemberExport\readCourseSpecificFieldsData().
ilCourseUserData::create | ( | ) |
Add entry.
public
Definition at line 202 of file class.ilCourseUserData.php.
References getValue().
Referenced by update().
ilCourseUserData::delete | ( | ) |
insert entry
public
Definition at line 188 of file class.ilCourseUserData.php.
ilCourseUserData::getValue | ( | ) |
Definition at line 165 of file class.ilCourseUserData.php.
References $value.
Referenced by create().
|
private |
Read value.
private
Definition at line 216 of file class.ilCourseUserData.php.
References $res, DB_FETCHMODE_OBJECT, and setValue().
Referenced by __construct().
ilCourseUserData::setValue | ( | $a_value | ) |
Definition at line 161 of file class.ilCourseUserData.php.
Referenced by ilCourseAgreementGUI\checkCourseDefinedFields(), read(), and ilCourseRegistrationGUI\validateCourseDefinedFields().
ilCourseUserData::update | ( | ) |
update value
public
Definition at line 176 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().