Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
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);