Class NLink
Lazy encapsulation of NPresenterComponent::link(). Do not instantiate directly, use NPresenterComponent::lazyLink()
- NObject
-
NLink
public
|
#
__construct(
NPresenterComponent
$component,
string
$destination,
array
$params
)
NLink specification. NLink specification. Parameters$component NPresenterComponent$destination string$params array |
public
string
|
#
getDestination(
)
Returns link destination. Returns link destination. |
public
NLink
|
#
setParam(
string
$key,
mixed
$value
)
Changes link parameter. Changes link parameter. Parameters$key string$value mixedReturnsNLink provides a fluent interface
|
public
mixed
|
#
getParam(
string
$key
)
Returns link parameter. Returns link parameter. Parameters$key string |
public
array
|
#
getParams(
)
Returns link parameters. Returns link parameters. |
public
string
|
#
__toString(
)
Converts link to URL. Converts link to URL. |