Class Link (namespace Nette\Application)
Lazy encapsulation of PresenterComponent::link().
Do not instantiate directly, use PresenterComponent::lazyLink()
Object | --Link
Public Method Summary | |
---|---|
Link |
__construct
(PresenterComponent $component, string $destination, $args)
Link specification.
|
string |
Returns link destination.
|
mixed |
getParam
(string $key)
Returns link parameter.
|
void |
setParam
(string $key, mixed $value)
Changes link parameter.
|
string |
__toString
()
Converts link to URL.
|
Methods Inherited From Object |
---|
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset() |
Method Details | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
line 53 __constructpublic Link __construct (PresenterComponent $component, string $destination, $args) Link specification.
|
||||||||||||||||||
line 66 getDestinationpublic string getDestination () Returns link destination.
|
||||||||||||||||||
line 91 getParampublic mixed getParam (string $key) Returns link parameter.
|
||||||||||||||||||
line 79 setParampublic void setParam (string $key, mixed $value) Changes link parameter.
|
||||||||||||||||||
line 102 __toStringpublic string __toString () Converts link to URL.
|