Themes
in package
Table of Contents
Properties
Methods
- __construct() : mixed
- output() : mixed
- New method to display contents from template files
- resolve() : mixed
- Resolves a given namespace to the appropriate path
- set() : mixed
- Sets a variable on the template
Properties
$fd
public
mixed
$fd
= null
$vars
public
mixed
$vars
= []
Methods
__construct()
public
__construct(mixed $fd) : mixed
Parameters
- $fd : mixed
output()
New method to display contents from template files
public
output(mixed $namespace[, mixed $vars = [] ][, mixed $extension = 'php' ]) : mixed
Parameters
- $namespace : mixed
- $vars : mixed = []
- $extension : mixed = 'php'
Tags
resolve()
Resolves a given namespace to the appropriate path
public
resolve([mixed $namespace = '' ][, mixed $extension = 'php' ]) : mixed
Parameters
- $namespace : mixed = ''
- $extension : mixed = 'php'
Tags
set()
Sets a variable on the template
public
set(mixed $name, mixed $value) : mixed
Parameters
- $name : mixed
- $value : mixed