output_support extends facade
Facade for local_middag\framework\support\moodle\output_support.
Tags
Table of Contents
Methods
- footer() : void
- get_facade_accessor() : string
- Return the service accessor key for this facade.
- header() : void
- notification() : string
- render() : string
- render_from_template() : string
Methods
footer()
public
static footer() : void
get_facade_accessor()
Return the service accessor key for this facade.
public
static get_facade_accessor() : string
Return values
stringheader()
public
static header() : void
notification()
public
static notification(string $message[, string $type = = '\'notifyinfo\'' ]) : string
Parameters
- $message : string
- $type : string = = '\'notifyinfo\''
Return values
stringrender()
public
static render(renderable $renderable) : string
Parameters
- $renderable : renderable
Return values
stringrender_from_template()
public
static render_from_template(string $templatename, array<string|int, mixed> $context) : string
Parameters
- $templatename : string
- $context : array<string|int, mixed>