MIDDAG for Moodle

output_support extends facade

Facade for local_middag\framework\support\moodle\output_support.

Tags
see
output_support
mixin

Table of Contents

Methods

footer()  : string|null
get_facade_accessor()  : string
Return the service accessor key for this facade.
header()  : string|null
notification()  : string
render()  : string
render_from_template()  : string

Methods

public static footer([mixed $return = = 'false' ]) : string|null
Parameters
$return : mixed = = 'false'
Return values
string|null

get_facade_accessor()

Return the service accessor key for this facade.

public static get_facade_accessor() : string
Return values
string

header()

public static header([mixed $return = = 'false' ]) : string|null
Parameters
$return : mixed = = 'false'
Return values
string|null

notification()

public static notification(string $message[, string $type = = '\'notifyinfo\'' ]) : string
Parameters
$message : string
$type : string = = '\'notifyinfo\''
Return values
string

render()

public static render(renderable $renderable) : string
Parameters
$renderable : renderable
Return values
string

render_from_template()

public static render_from_template(string $templatename, array<string|int, mixed> $context) : string
Parameters
$templatename : string
$context : array<string|int, mixed>
Return values
string

        
On this page

Search results