Moodle APIs 3.11
Moodle 3.11.11+ (Build: 20221125)
|
Files | |
file | format.php |
Topics course format. | |
file | lib.php |
This file contains main class for Topics course format. | |
file | provider.php |
Privacy Subsystem implementation for Topics course format. | |
file | renderer.php |
Renderer for outputting the topics course format. | |
file | restore_format_topics_plugin.class.php |
Specialised restore for Topics course format. | |
file | upgrade.php |
Upgrade scripts for Topics course format. | |
file | version.php |
Version details. | |
Namespaces | |
namespace | format_topics\privacy |
| |
Classes | |
class | format_topics |
Main class for the Topics course format. More... | |
class | format_topics\privacy\provider |
Privacy Subsystem for Topics course format implementing null_provider. More... | |
class | format_topics_renderer |
Basic renderer for topics format. More... | |
class | restore_format_topics_plugin |
Functions | |
format_topics_inplace_editable ($itemtype, $itemid, $newvalue) | |
Implements callback inplace_editable() allowing to edit values in-place. More... | |
xmldb_format_topics_upgrade ($oldversion) | |
Upgrade script for Topics course format. More... | |
Variables | |
if($topic=optional_param('topic', 0, PARAM_INT)) | $context = context_course::instance($course->id) |
$course = course_get_format($course)->get_course() | |
$plugin = 2021051100 | |
$renderer = $PAGE->get_renderer('format_topics') | |
$plugin | component = 'format_topics' |
if(!empty($displaysection)) | else |
$plugin | version = 2021051700 |
format_topics_inplace_editable | ( | $itemtype, | |
$itemid, | |||
$newvalue | |||
) |
Implements callback inplace_editable() allowing to edit values in-place.
string | $itemtype | |
int | $itemid | |
mixed | $newvalue |
inplace_editable |
xmldb_format_topics_upgrade | ( | $oldversion | ) |
Upgrade script for Topics course format.
int | float | $oldversion | the version we are upgrading from |
bool | result |
if (!empty( $displaysection)) else |