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)

No description

bool
isModuleCurrent(string $module)

No description

Details

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

Adds new template parameter.

Parameters

string $name
$value

Return Value

DefaultTemplate

at line 60
DefaultTemplate setParameters(array $params)

Sets all parameters.

Parameters

array $params

Return Value

DefaultTemplate

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

Parameters

string $destination

Return Value

bool

at line 21
bool isModuleCurrent(string $module)

Parameters

string $module

Return Value

bool