|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Collaboration diagram for ilRating: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, $a_category_id=0) |
| Write rating for a user and an object. More... | |
| static | resetRatingForUserAndObject ( $a_obj_id, $a_obj_type, $a_sub_obj_id, $a_sub_obj_type, $a_user_id) |
| Reset rating for a user and an object. More... | |
| static | getRatingForUserAndObject ( $a_obj_id, $a_obj_type, $a_sub_obj_id, $a_sub_obj_type, $a_user_id, $a_category_id=null) |
| Get rating for a user and an object. More... | |
| static | getOverallRatingForObject ($a_obj_id, $a_obj_type, $a_sub_obj_id=null, $a_sub_obj_type=null, $a_category_id=null) |
| Get overall rating for an object. More... | |
| static | getExportData ($a_obj_id, $a_obj_type, array $a_category_ids=null) |
| Get export data. More... | |
| static | preloadListGUIData (array $a_obj_ids) |
| Preload rating data for list guis. More... | |
| static | hasRatingInListGUI ($a_obj_id, $a_obj_type) |
Static Protected Attributes | |
| static | $list_data |
|
static |
Get export data.
| int | $a_obj_id | |
| string | $a_obj_type | |
| array | $a_category_ids |
Definition at line 211 of file class.ilRating.php.
References $DIC, $ilDB, and $res.
Referenced by ilRatingCategoryGUI\export().
Here is the caller graph for this function:
|
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 |
| int | $a_category_id | Category ID |
Definition at line 165 of file class.ilRating.php.
Referenced by ilObjForumGUI\executeCommand(), ilWikiStat\getAverageRating(), ilDclRatingRecordFieldModel\getExportValue(), ilRatingGUI\getHTML(), ilDclRatingRecordFieldModel\getValue(), and ilRatingGUI\renderDetails().
Here is the caller graph for this function:
|
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 |
| int | $a_category_id | Category ID |
Definition at line 126 of file class.ilRating.php.
Referenced by ilExerciseManagementCollectFilesJob\addCriteriaToExcel(), ilRatingGUI\getHTML(), ilExcCriteriaRating\hasValue(), and ilRatingGUI\renderDetails().
Here is the caller graph for this function:
|
static |
Definition at line 309 of file class.ilRating.php.
Referenced by ilObjectListGUI\getListItemHTML().
Here is the caller graph for this function:
|
static |
Preload rating data for list guis.
| array | $a_obj_ids |
Definition at line 238 of file class.ilRating.php.
References $DIC, $ilDB, $ilUser, and $res.
Referenced by ilObjectListGUIPreloader\preload().
Here is the caller graph for this function:
|
static |
Reset 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 96 of file class.ilRating.php.
Referenced by ilExcCriteriaRating\resetReview(), ilRatingGUI\resetUserRating(), and ilLMPresentationGUI\updatePageRating().
Here is the caller graph for this function:
|
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 |
| int | $a_category_id | Category ID |
Definition at line 30 of file class.ilRating.php.
References $DIC, $ilDB, and ANONYMOUS_USER_ID.
Referenced by ilRatingGUI\saveRating(), ilExcCriteriaRating\updateFromAjax(), and ilLMPresentationGUI\updatePageRating().
Here is the caller graph for this function:
|
staticprotected |
Definition at line 17 of file class.ilRating.php.