class LinkGenerator extends Object

Link generator.

Methods

__construct(IRouter $router, Url $refUrl, IPresenterFactory $presenterFactory = NULL)

No description

string
link($dest, array $params = array())

Generates URL to presenter.

Details

at line 28
__construct(IRouter $router, Url $refUrl, IPresenterFactory $presenterFactory = NULL)

No description

Parameters

IRouter $router
Url $refUrl
IPresenterFactory $presenterFactory

Generates URL to presenter.

Parameters

$dest
array $params

Return Value

string

Exceptions

InvalidLinkException