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 NJsonResponse

JSON response used for AJAX requests.

NObject
Extended by NJsonResponse implements IPresenterResponse
Package: Nette\Application
Author: David Grudl
Located at Application/Responses/JsonResponse.php
Methods summary
public
# __construct( array|stdClass $payload, string $contentType = NULL )

Parameters

$payload
array|stdClass
payload
$contentType
string
MIME content type
final public array|stdClass
# getPayload( )

Returns

array|stdClass
public
# send( )

Sends response to output.

Sends response to output.

Implementation of

IPresenterResponse::send
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