|
Moodle APIs 4.0
Moodle 4.0.11 (Build: 20231009)
|
Directories | |
| directory | backup |
| | |
| directory | classes |
| | |
Files | |
| file | content.php |
| Contains the default content output class. | |
| file | controlmenu.php |
| Contains the default section controls output class. | |
| 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 |
| Legacy file to aviod exceptions when formats require it. | |
| file | restore_format_topics_plugin.class.php |
| Specialised restore for Topics course format. | |
| file | section.php |
| Contains the default section controls output class. | |
| file | settings.php |
| Settings for format_topics. | |
| file | upgrade.php |
| Upgrade scripts for Topics course format. | |
| file | version.php |
| Version details. | |
Namespaces | |
| namespace | format_topics\output\courseformat |
| | |
| namespace | format_topics\output\courseformat\content |
| | |
| namespace | format_topics\output\courseformat\content\section |
| | |
| namespace | format_topics\privacy |
| | |
Classes | |
| class | format_topics |
| Main class for the Topics course format. More... | |
| class | format_topics\output\courseformat\content |
| Base class to render a course content. More... | |
| class | format_topics\output\courseformat\content\section |
| Base class to render a course section. More... | |
| class | format_topics\output\courseformat\content\section\controlmenu |
| Base class to render a course section menu. More... | |
| class | format_topics\privacy\provider |
| Privacy Subsystem for Topics course format implementing null_provider. More... | |
| class | restore_format_topics_plugin |
Functions | |
| format_topics_inplace_editable ($itemtype, $itemid, $newvalue) | |
| Implements callback inplace_editable() allowing to edit values in-place. | |
| xmldb_format_topics_upgrade ($oldversion) | |
| Upgrade script for Topics course format. | |
Variables | |
| $context = context_course::instance($course->id) | |
| $course = $format->get_course() | |
| if($topic=optional_param('topic', 0, PARAM_INT)) | $format = course_get_format($course) |
| if(!empty($displaysection)) | $outputclass = $format->get_output_classname('content') |
| $plugin = 2022041200 | |
| $renderer = $PAGE->get_renderer('format_topics') | |
| $widget = new $outputclass($format) | |
| $plugin | component = 'format_topics' |
| $plugin | version = 2022041901 |
| 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 |