Skip to content

Kirby 3.5.7.1

$kirby->template()

Uses the template component to initialize and return the Template object

$kirby->template(string $name, string $type = 'html', string $defaultType = 'html'): Kirby\Cms\Template

Parameters

Name Type Default
$name * string
$type string 'html'
$defaultType string 'html'

Return type

Kirby\Cms\Template

Parent class

Kirby\Cms\App