View
in package
View
Displays the templates
Table of Contents
- $_variables : array<string|int, mixed>
- variables available in the template
- assign() : mixed
- assign variables to be used inside of the template
- draw() : mixed
- render a template
Properties
$_variables
variables available in the template
private
array<string|int, mixed>
$_variables
= array()
Tags
Methods
assign()
assign variables to be used inside of the template
public
assign(string $name, mixed $value) : mixed
Parameters
- $name : string
- $value : mixed
Tags
Return values
mixed —draw()
render a template
public
draw(string $template) : mixed
Parameters
- $template : string