Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
Variables
format.php File Reference

Topics course format. More...

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')
 
 $renderer = $PAGE->get_renderer('format_topics')
 
 $widget = new $outputclass($format)
 

Detailed Description

Topics course format.

Display the whole course as "topics" made of modules.

Author
N.D.F.nosp@m.reea.nosp@m.r@ope.nosp@m.n.ac.nosp@m..uk, and others.
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later