final class DefaultTemplate extends Template

Default template for controls and presenters.

Properties

Presenter $presenter
Control $control
User $user
string $baseUrl
string $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 47
DefaultTemplate add(string $name, $value)

Adds new template parameter.

Parameters

string $name
$value

Return Value

DefaultTemplate

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