output_support
class output_support
| internal |
Output support wrapper for Moodle's $OUTPUT global.
Methods
static string|null
header(mixed $return = false)
Prints the page header HTML.
static string|null
footer(mixed $return = false)
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 34
static string|null
header(mixed $return = false)
Prints the page header HTML.
at line 53
static string|null
footer(mixed $return = false)
Prints the page footer HTML.
at line 74
static string
render(renderable $renderable)
Renders a renderable object.
at line 89
static string
render_from_template(string $templatename, array $context)
Renders a template with a given context.
at line 104
static string
notification(string $message, string $type = 'notifyinfo')
Displays a notification message.