Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
manager

Factory method returning an instance of the grading manager.

Factory method returning an instance of the grading managerThere are basically ways how to use this factory method. If the area record id is known to the caller, get the manager for that area by providing just the id. If the area record id is not know, the context, component and area name can be provided. Note that null values are allowed in the second case as the context, component and the area name can be set explicitly later.

= get_grading_manager($areaid);