ILIAS
Release_3_10_x_branch Revision 61812
|
Static Public Member Functions | |
static | writeRatingForUserAndObject ($a_obj_id, $a_obj_type, $a_sub_obj_id, $a_sub_obj_type, $a_user_id, $a_rating) |
Write rating for a user and an object. | |
static | getRatingForUserAndObject ($a_obj_id, $a_obj_type, $a_sub_obj_id, $a_sub_obj_type, $a_user_id) |
Get rating for a user and an object. | |
static | getOverallRatingForObject ($a_obj_id, $a_obj_type, $a_sub_obj_id, $a_sub_obj_type) |
Get overall rating for an object. |
|
static |
Get overall rating for an object.
int | $a_obj_id | Object ID |
string | $a_obj_type | Object Type |
int | $a_sub_obj_id | Subobject ID |
string | $a_sub_obj_type | Subobject Type |
Definition at line 101 of file class.ilRating.php.
References DB_FETCHMODE_ASSOC.
Referenced by ilRatingGUI\getHTML().
|
static |
Get rating for a user and an object.
int | $a_obj_id | Object ID |
string | $a_obj_type | Object Type |
int | $a_sub_obj_id | Subobject ID |
string | $a_sub_obj_type | Subobject Type |
int | $a_user_id | User ID |
Definition at line 77 of file class.ilRating.php.
References DB_FETCHMODE_ASSOC.
Referenced by ilRatingGUI\getHTML().
|
static |
Write rating for a user and an object.
int | $a_obj_id | Object ID |
string | $a_obj_type | Object Type |
int | $a_sub_obj_id | Subobject ID |
string | $a_sub_obj_type | Subobject Type |
int | $a_user_id | User ID |
int | $a_rating | Rating |
Definition at line 47 of file class.ilRating.php.
Referenced by ilRatingGUI\saveRating().