Contao Utils Bundle

RenderTwigTemplateEvent extends AbstractEvent
in package

Table of Contents

Constants

NAME  = 'huh.utils.template.render'

Properties

$context  : array<string|int, mixed>
The context template data.
$template  : string
The name of the twig template.

Methods

__construct()  : mixed
getContext()  : array<string|int, mixed>
getTemplate()  : string
setContext()  : mixed
setTemplate()  : mixed

Constants

Properties

Methods

__construct()

public __construct(string $template[, array<string|int, mixed> $context = [] ]) : mixed
Parameters
$template : string
$context : array<string|int, mixed> = []

setContext()

public setContext(array<string|int, mixed> $context) : mixed
Parameters
$context : array<string|int, mixed>

        
On this page

Search results