Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
grade_plugin_info Class Reference

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

Public Member Functions

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

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: