Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
|
Namespaces | |
namespace | workshopform_accumulative\privacy |
| |
Classes | |
class | backup_workshopform_accumulative_subplugin |
Provides the information to backup accumulative grading strategy information. More... | |
class | moodle1_workshopform_accumulative_handler |
Conversion handler for the accumulative grading strategy data. More... | |
class | restore_workshopform_accumulative_subplugin |
restore subplugin class that provides the necessary information needed to restore one workshopform_accumulative subplugin. More... | |
class | workshop_accumulative_assessment_form |
Class representing a form for assessing submissions by accumulative grading strategy. More... | |
class | workshop_accumulative_strategy |
Accumulative grading strategy logic. More... | |
class | workshop_edit_accumulative_strategy_form |
Class for editing accumulative grading strategy forms. More... | |
class | workshopform_accumulative\privacy\provider |
Privacy API implementation for the Accumulative grading strategy. More... | |
Functions | |
workshopform_accumulative_pluginfile ($course, $cm, $context, $filearea, array $args, $forcedownload, array $options=array()) | |
Server workshop files. | |
workshopform_accumulative_upgrade_element (stdclass $old, array $newscaleids, $newworkshopid) | |
Transforms a given record from workshop_elements_old into an object to be saved into workshopform_accumulative. | |
xmldb_workshopform_accumulative_install () | |
Post installation procedure. | |
xmldb_workshopform_accumulative_upgrade ($oldversion) | |
Performs upgrade of the database structure and data. | |
Variables | |
$plugin = 2024041600 | |
$plugin | component = 'workshopform_accumulative' |
$plugin | version = 2024042200 |
workshopform_accumulative_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_accumulative_upgrade_element | ( | stdclass | $old, |
array | $newscaleids, | ||
$newworkshopid ) |
Transforms a given record from workshop_elements_old into an object to be saved into workshopform_accumulative.
stdClass | $old | legacy record from workshop_elements_old |
array | $newscaleids | mapping from old scale types into new standard ones |
int | $newworkshopid | id of the new workshop instance that replaced the previous one |
stdclass | to be saved in workshopform_accumulative |
xmldb_workshopform_accumulative_upgrade | ( | $oldversion | ) |
Performs upgrade of the database structure and data.
int | $oldversion | the version we are upgrading from |
bool | true |