Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Files | |
file | format.php |
Topics course format. | |
file | lib.php |
This file contains main class for the course format Topic. | |
file | provider.php |
Privacy Subsystem implementation for format_topics. | |
file | renderer.php |
Renderer for outputting the topics course format. | |
file | restore_format_topics_plugin.class.php |
Specialised restore for format_topics. | |
file | upgrade.php |
Upgrade scripts for course format "Topics". | |
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 format_topics 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 format_topics. More... | |
Variables | |
if($topic=optional_param('topic', 0, PARAM_INT)) | $context = context_course::instance($course->id) |
$course = course_get_format($course)->get_course() | |
$renderer = $PAGE->get_renderer('format_topics') | |
if(!empty($displaysection)) | else |
format_topics_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_topics_upgrade | ( | $oldversion | ) |
Upgrade script for format_topics.
int | $oldversion | the version we are upgrading from |
bool | result |
if (!empty( $displaysection)) else |