Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
|
Namespaces | |
namespace | format_weeks\output |
| |
namespace | format_weeks\privacy |
| |
Classes | |
class | format_weeks |
Main class for the Weeks course format. More... | |
class | format_weeks\output\renderer |
Basic renderer for weeks 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 | restore_format_weeks_plugin |
Specialised restore for format_weeks. More... | |
Functions | |
format_weeks_inplace_editable ($itemtype, $itemid, $newvalue) | |
Implements callback inplace_editable() allowing to edit values in-place. | |
xmldb_format_weeks_upgrade ($oldversion) | |
Upgrade script for format_weeks. | |
Variables | |
if($week=optional_param('week', 0, PARAM_INT)) | $format = course_get_format($course) |
$observers | |
$output = new $outputclass($format) | |
if(!is_null($displaysection)) | $outputclass = $format->get_output_classname('content') |
$renderer = $PAGE->get_renderer('format_weeks') | |
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 |