Moodle APIs 3.11
Moodle 3.11.11+ (Build: 20221125)
Files | Namespaces | Classes | Functions | Variables
format_topics

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
 

Detailed Description

Function Documentation

◆ format_topics_inplace_editable()

format_topics_inplace_editable (   $itemtype,
  $itemid,
  $newvalue 
)

Implements callback inplace_editable() allowing to edit values in-place.

Parameters
string$itemtype
int$itemid
mixed$newvalue
Return values
inplace_editable

◆ xmldb_format_topics_upgrade()

xmldb_format_topics_upgrade (   $oldversion)

Upgrade script for Topics course format.

Parameters
int | float$oldversionthe version we are upgrading from
Return values
boolresult

Variable Documentation

◆ else

if (!empty( $displaysection)) else
Initial value:
{
$renderer->print_multiple_section_page($course, null, null, null, null)