Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Classes | Variables
lib.php File Reference

A class representing a single rating and containing some static methods for manipulating ratings. More...

Classes

class  rating
 
class  rating_exception
 
class  rating_manager
 

Variables

const RATING_AGGREGATE_AVERAGE 1
 
const RATING_AGGREGATE_COUNT 2
 
const RATING_AGGREGATE_MAXIMUM 3
 
const RATING_AGGREGATE_MINIMUM 4
 
const RATING_AGGREGATE_NONE 0
 
const RATING_AGGREGATE_SUM 5
 
const RATING_DEFAULT_SCALE 5
 
const RATING_UNSET_RATING -999
 

Detailed Description

A class representing a single rating and containing some static methods for manipulating ratings.

@subpackage rating

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later