Table of Contents
Constants
-
KIND_BLADE
= 'blade'
-
KIND_MUSTACHE
= 'mustache'
-
KIND_SMARTY
= 'smarty'
-
KIND_TWIG
= 'twig'
-
KIND_VOLT
= 'volt'
Methods
-
assign()
: void
-
display()
: void
-
fetch()
: string
-
getTemplate()
: string|null
-
setLayout()
: mixed
-
setLayoutDirectives()
: mixed
-
setTemplate()
: mixed
KIND_BLADE
public
mixed
KIND_BLADE
= 'blade'
KIND_MUSTACHE
public
mixed
KIND_MUSTACHE
= 'mustache'
KIND_SMARTY
public
mixed
KIND_SMARTY
= 'smarty'
KIND_TWIG
public
mixed
KIND_TWIG
= 'twig'
KIND_VOLT
public
mixed
KIND_VOLT
= 'volt'
assign()
public
assign(string $name, mixed $val) : void
Parameters
-
$name
: string
-
-
$val
: mixed
-
display()
public
display() : void
fetch()
public
fetch([ $template = null ]) : string
Parameters
-
$template
:
= null
-
getTemplate()
public
getTemplate() : string|null
Return values
string|null
setLayout()
public
setLayout(string $layout) : mixed
Parameters
-
$layout
: string
-
setLayoutDirectives()
public
setLayoutDirectives(array<string|int, mixed> $directives) : mixed
Parameters
-
$directives
: array<string|int, mixed>
-
setTemplate()
public
setTemplate(string $template) : mixed
Parameters
-
$template
: string
-