Stud.IP  5.4
DetailspagePlugin Interface Reference

Public Member Functions

 getDetailspageTemplate ($course)
 

Member Function Documentation

◆ getDetailspageTemplate()

getDetailspageTemplate (   $course)

Return a template (an instance of the Flexi_Template class) to be rendered on the details page. Return NULL to render nothing for this plugin or this course.

The template will automatically get a standard layout, which can be configured via attributes set on the template:

title title to display, defaults to plugin name

Returns
object template object to render or NULL

The documentation for this interface was generated from the following file: