Class NLink
Lazy encapsulation of NPresenterComponent::link().
Do not instantiate directly, use NPresenterComponent::lazyLink()
NObject | --NLink
Public Method Summary | |
---|---|
NLink |
__construct
(NPresenterComponent $component, string $destination, $params)
NLink specification.
|
string |
Returns link destination.
|
mixed |
getParam
(string $key)
Returns link parameter.
|
array |
getParams
()
Returns link parameters.
|
NLink |
setParam
(string $key, mixed $value)
Changes link parameter.
|
string |
__toString
()
Converts link to URL.
|
Methods Inherited From NObject |
---|
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset() |
Method Details | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
line 52 __constructpublic NLink __construct (NPresenterComponent $component, string $destination, $params) NLink specification.
|
||||||||||||||||||
line 65 getDestinationpublic string getDestination () Returns link destination.
|
||||||||||||||||||
line 91 getParampublic mixed getParam (string $key) Returns link parameter.
|
||||||||||||||||||
line 102 getParamspublic array getParams () Returns link parameters.
|
||||||||||||||||||
line 78 setParampublic NLink setParam (string $key, mixed $value) Changes link parameter.
|
||||||||||||||||||
line 113 __toStringpublic string __toString () Converts link to URL.
|