Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | Public Attributes | List of all members
grade_plugin_info Class Reference

A simple class containing info about grade plugins. More...

Public Member Functions

 __construct ($id, $link, $string, $parent=null)
 Constructor. More...
 

Public Attributes

mixed $id
 A unique id for this plugin.
 
mixed $link
 A URL to access this plugin.
 
mixed $parent
 Another grade_plugin_info object, parent of the current one.
 
mixed $string
 The name of this plugin.
 

Detailed Description

A simple class containing info about grade plugins.

Can be subclassed for special rules

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

Constructor & Destructor Documentation

◆ __construct()

grade_plugin_info::__construct (   $id,
  $link,
  $string,
  $parent = null 
)

Constructor.

Parameters
int$idA unique id for this plugin
string$linkA URL to access this plugin
string$stringThe name of this plugin
object$parentAnother grade_plugin_info object, parent of the current one
Return values
void

The documentation for this class was generated from the following file: