|
Moodle PHP Documentation 4.1
Moodle 4.1.19+ (Build: 20250711) (5f47dc23ffc)
|
Namespaces | |
| namespace | mod_assignment\plugininfo |
| | |
| namespace | mod_assignment\privacy |
| | |
Classes | |
| class | backup_assignment_activity_structure_step |
| Define all the backup steps that will be used by the backup_assignment_activity_task. More... | |
| class | backup_assignment_activity_task |
| Provides the steps to perform one complete backup of the Assignment instance. More... | |
| class | mod_assignment\plugininfo\assignment |
| class | mod_assignment\privacy\provider |
| Implementation of the privacy subsystem plugin provider for mod_assignment. More... | |
| class | mod_assignment_generator |
| Assignment module data generator class. More... | |
| class | mod_assignment_mod_form |
| Disabled assignment settings form. More... | |
| class | moodle1_assignment_subplugin_handler |
| Base class for the assignment subplugin handler Extend this for your own subplugin conversion handling purposes. More... | |
| class | moodle1_assignment_unsupported_subplugin_handler |
| This class handles subplugins that do not exist or that are not supported. More... | |
| class | moodle1_mod_assignment_handler |
| Assignment conversion handler. More... | |
| class | restore_assignment_activity_structure_step |
| Define all the restore steps that will be used by the restore_assignment_activity_task. More... | |
| class | restore_assignment_activity_task |
| assignment restore task that provides all the settings and steps to perform one complete restore of the activity More... | |
Functions | |
| assignment_add_instance ($assignment, $mform=null) | |
| Adds an assignment instance. | |
| assignment_delete_instance ($id) | |
| Deletes an assignment instance. | |
| assignment_supports ($feature) | |
| xmldb_assignment_install () | |
| Code run after the mod_assignment module database tables have been created. | |
Variables | |
| $capabilities | |
| global | mod_assignment\privacy::$CFG |
| $handlers = array() | |
| $logs | |
| $messageproviders | |
| $plugin = 2022111800 | |
| $plugin | component = 'mod_assignment' |
| $plugin | cron = 60 |
| $plugin | version = 2022112800 |
| assignment_add_instance | ( | $assignment, | |
| $mform = null ) |
Adds an assignment instance.
Only used by generators so we can create old assignments to test the upgrade.
| stdClass | $assignment | |
| mod_assignment_mod_form | $mform |
| int | intance id |
| assignment_delete_instance | ( | $id | ) |
Deletes an assignment instance.
| $id |
| assignment_supports | ( | $feature | ) |
| string | $feature | FEATURE_xx constant for requested feature |
| mixed | True if module supports feature, false if not, null if doesn't know or string for the module purpose. |
| xmldb_assignment_install | ( | ) |
Code run after the mod_assignment module database tables have been created.
Disables this plugin for new installs
| bool |
| $handlers = array() |
| $logs |