Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
|
Namespaces | |
namespace | workshopform_comments\privacy |
| |
Classes | |
class | backup_workshopform_comments_subplugin |
Provides the information to backup comments grading strategy information. More... | |
class | moodle1_workshopform_comments_handler |
Conversion handler for the comments grading strategy data. More... | |
class | restore_workshopform_comments_subplugin |
restore subplugin class that provides the necessary information needed to restore one workshopform_comments subplugin. More... | |
class | workshop_comments_assessment_form |
Class representing a form for assessing submissions by comments grading strategy. More... | |
class | workshop_comments_strategy |
Accumulative grading strategy logic. More... | |
class | workshop_edit_comments_strategy_form |
Class for editing comments grading strategy forms. More... | |
class | workshopform_comments\privacy\provider |
Privacy API implementation for the Comments grading strategy. More... | |
Functions | |
workshopform_comments_pluginfile ($course, $cm, $context, $filearea, array $args, $forcedownload, array $options=array()) | |
Server workshop files. | |
workshopform_comments_upgrade_element (stdclass $old, $newworkshopid) | |
Transforms a given record from workshop_elements_old into an object to be saved into workshopform_comments. | |
xmldb_workshopform_comments_install () | |
Post installation procedure. | |
xmldb_workshopform_comments_upgrade ($oldversion) | |
Performs upgrade of the database structure and data. | |
Variables | |
$plugin = 2023100400 | |
$plugin | component = 'workshopform_comments' |
$plugin | version = 2023100900 |
workshopform_comments_pluginfile | ( | $course, | |
$cm, | |||
$context, | |||
$filearea, | |||
array | $args, | ||
$forcedownload, | |||
array | $options = array() ) |
Server workshop files.
stdClass | $course | course object |
stdClass | $cm | course module object |
stdClass | $context | context object |
string | $filearea | file area |
array | $args | extra arguments |
bool | $forcedownload | whether or not force download |
array | $options | additional options affecting the file serving |
bool |
workshopform_comments_upgrade_element | ( | stdclass | $old, |
$newworkshopid ) |
Transforms a given record from workshop_elements_old into an object to be saved into workshopform_comments.
stdClass | $old | legacy record from workshop_elements_old |
int | $newworkshopid | id of the new workshop instance that replaced the previous one |
stdclass | to be saved in workshopform_comments |
xmldb_workshopform_comments_upgrade | ( | $oldversion | ) |
Performs upgrade of the database structure and data.
int | $oldversion | the version we are upgrading from |
bool | true |