final class DefaultTemplate extends Template

Default template for controls and presenters.

Properties

$presenter
$control
$user
$baseUrl
$basePath
stdClass[] $flashes

Methods

add(string $name, $value)

Adds new template parameter.

setParameters(array $params)

Sets all parameters.

bool
isLinkCurrent(string $destination = null, mixed $args)

No description

bool
isModuleCurrent(string $module)

No description

Details

at line 36
DefaultTemplate add(string $name, $value)

Adds new template parameter.

Parameters

string $name
$value

Return Value

DefaultTemplate

at line 50
DefaultTemplate setParameters(array $params)

Sets all parameters.

Parameters

array $params

Return Value

DefaultTemplate

at line 21
bool isLinkCurrent(string $destination = null, mixed $args)

No description

Parameters

string $destination
mixed $args

Return Value

bool

at line 21
bool isModuleCurrent(string $module)

No description

Parameters

string $module

Return Value

bool