Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Files | |
file | events.php |
Format weeks event handler definition. | |
file | format.php |
Weeks course format. | |
file | lib.php |
This file contains main class for the course format Weeks. | |
file | observer.php |
Event observers used by the weeks course format. | |
file | provider.php |
Privacy Subsystem implementation for format_weeks. | |
file | renderer.php |
Renderer for outputting the weeks course format. | |
file | restore_format_weeks_plugin.class.php |
Specialised restore for format_weeks. | |
file | upgrade.php |
Upgrade scripts for course format "Weeks". | |
Namespaces | |
namespace | format_weeks\privacy |
| |
Classes | |
class | format_weeks |
Main class for the Weeks course format. More... | |
class | format_weeks\privacy\provider |
Privacy Subsystem for format_weeks implementing null_provider. More... | |
class | format_weeks_observer |
Event observer for format_weeks. More... | |
class | format_weeks_renderer |
Basic renderer for weeks format. More... | |
class | restore_format_weeks_plugin |
Functions | |
format_weeks_inplace_editable ($itemtype, $itemid, $newvalue) | |
Implements callback inplace_editable() allowing to edit values in-place. More... | |
xmldb_format_weeks_upgrade ($oldversion) | |
Upgrade script for format_weeks. More... | |
Variables | |
if($week=optional_param('week', 0, PARAM_INT)) | $course = course_get_format($course)->get_course() |
$observers | |
$renderer = $PAGE->get_renderer('format_weeks') | |
if(!empty($displaysection)) | else |
format_weeks_inplace_editable | ( | $itemtype, | |
$itemid, | |||
$newvalue | |||
) |
Implements callback inplace_editable() allowing to edit values in-place.
string | $itemtype | |
int | $itemid | |
mixed | $newvalue |
core::output::inplace_editable |
xmldb_format_weeks_upgrade | ( | $oldversion | ) |
Upgrade script for format_weeks.
int | $oldversion | the version we are upgrading from |
bool | result |
$observers |
if (!empty( $displaysection)) else |