final class DefaultTemplate extends Template

Default template for controls and presenters.

Properties

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

Methods

add(string $name, mixed $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 37
DefaultTemplate add(string $name, mixed $value)

Adds new template parameter.

Parameters

string $name
mixed $value

Return Value

DefaultTemplate

at line 51
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