output_support
class output_support
| internal |
Output support wrapper for Moodle's $OUTPUT global.
Methods
static void
header()
Prints the page header HTML.
static void
footer()
Prints the page footer HTML.
static string
render(renderable $renderable)
Renders a renderable object.
static string
render_from_template(string $templatename, array $context)
Renders a template with a given context.
static string
notification(string $message, string $type = 'notifyinfo')
Displays a notification message.
Details
at line 32
static void
header()
Prints the page header HTML.
at line 42
static void
footer()
Prints the page footer HTML.
at line 56
static string
render(renderable $renderable)
Renders a renderable object.
at line 71
static string
render_from_template(string $templatename, array $context)
Renders a template with a given context.
at line 86
static string
notification(string $message, string $type = 'notifyinfo')
Displays a notification message.