Namespaces

  • Nette
    • Application
    • Caching
    • Collections
    • Config
    • Forms
    • IO
    • Loaders
    • Mail
    • Reflection
    • Security
    • Templates
    • Web
  • None
  • PHP

Classes

  • AppForm
  • Application
  • CliRouter
  • Control
  • DownloadResponse
  • ForwardingResponse
  • JsonResponse
  • Link
  • MultiRouter
  • Presenter
  • PresenterComponent
  • PresenterLoader
  • PresenterRequest
  • RedirectingResponse
  • RenderResponse
  • Route
  • SimpleRouter

Interfaces

  • IPartiallyRenderable
  • IPresenter
  • IPresenterLoader
  • IPresenterResponse
  • IRenderable
  • IRouter
  • ISignalReceiver
  • IStatePersistent

Exceptions

  • AbortException
  • ApplicationException
  • BadRequestException
  • BadSignalException
  • ForbiddenRequestException
  • InvalidLinkException
  • InvalidPresenterException
  • Overview
  • Namespace
  • Class
  • Tree
  • Other releases

Class Link

Lazy encapsulation of PresenterComponent::link(). Do not instantiate directly, use PresenterComponent::lazyLink()

Nette\Object
Extended by Nette\Application\Link
Namespace: Nette\Application
Author: David Grudl
Located at Application/Link.php
Methods summary
public
# __construct( Nette\Application\PresenterComponent $component, string $destination, array $params )

Link specification.

Link specification.

Parameters

$component
Nette\Application\PresenterComponent
$destination
string
$params
array
public string
# getDestination( )

Returns link destination.

Returns link destination.

Returns

string
public Nette\Application\Link
# setParam( string $key, mixed $value )

Changes link parameter.

Changes link parameter.

Parameters

$key
string
$value
mixed

Returns

Nette\Application\Link
provides a fluent interface
public mixed
# getParam( string $key )

Returns link parameter.

Returns link parameter.

Parameters

$key
string

Returns

mixed
public array
# getParams( )

Returns link parameters.

Returns link parameters.

Returns

array
public string
# __toString( )

Converts link to URL.

Converts link to URL.

Returns

string
Methods inherited from Nette\Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Nette Framework 0.9.7 API documentation generated by ApiGen 2.3.0