Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Files | Namespaces | Classes | Variables
core_rating

Files

file  external.php
 Rating external API.
 
file  lib.php
 A class representing a single rating and containing some static methods for manipulating ratings.
 
file  privacy_helper.php
 Helpers for the core_rating subsystem implementation of privacy.
 
file  provider.php
 Privacy Subsystem implementation for core_ratings.
 
file  util.php
 Rating external functions utility class.
 

Namespaces

 core_rating\external
  
 
 core_rating\phpunit
  
 
 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
 
class  rating
 
class  rating_exception
 
class  rating_manager
 

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