Packages

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

Classes

  • NAppForm
  • NApplication
  • NCliRouter
  • NControl
  • NDownloadResponse
  • NForwardingResponse
  • NJsonResponse
  • NLink
  • NMultiRouter
  • NPresenter
  • NPresenterComponent
  • NPresenterLoader
  • NPresenterRequest
  • NRedirectingResponse
  • NRenderResponse
  • NRoute
  • NSimpleRouter

Interfaces

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

Exceptions

  • NAbortException
  • NApplicationException
  • NBadRequestException
  • NBadSignalException
  • NForbiddenRequestException
  • NInvalidLinkException
  • NInvalidPresenterException
  • Overview
  • Package
  • Class
  • Tree
  • Other releases

Class NLink

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

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

Link specification.

Link specification.

Parameters

$component
NPresenterComponent
$destination
string
$params
array
public string
# getDestination( )

Returns link destination.

Returns link destination.

Returns

string
public NLink
# setParam( string $key, mixed $value )

Changes link parameter.

Changes link parameter.

Parameters

$key
string
$value
mixed

Returns

NLink
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 NObject
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Nette Framework 0.9.7 (for PHP 5.2) API documentation generated by ApiGen 2.3.0