Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
core_rating

Namespaces

namespace  core_rating\external
  
 
namespace  core_rating\phpunit
  
 
namespace  core_rating\privacy
  
 

Classes

class  core_rating\external\util
 Rating external functions utility class. More...
 
class  core_rating\privacy\provider
 Privacy Subsystem implementation for core_ratings. More...
 
class  core_rating_external
 Rating external functions. More...
 
class  rating
 The rating class represents a single rating by a single user. More...
 
class  rating_exception
 The rating_exception class for exceptions specific to the ratings system. More...
 
class  rating_manager
 The rating_manager class provides the ability to retrieve sets of ratings from the database. More...
 

Variables

global core_rating\phpunit::$CFG
 
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