rating MDL-22526 added item checks to rating submission

This commit is contained in:
Andrew Davis
2010-05-21 07:50:38 +00:00
parent 942308b74d
commit aeafd4366b
6 changed files with 69 additions and 5 deletions
+8
View File
@@ -1359,6 +1359,14 @@ function data_rating_permissions($options) {
}
}
/**
* Returns the names of the table and columns necessary to check items for ratings
* @return array an array containing the item table, item id and user id columns
*/
function data_rating_item_check_info() {
return array('data_records','id','userid');
}
/**
* function that takes in the current data, number of items per page,