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 JsonResponse

JSON response used for AJAX requests.

Nette\Object
Extended by Nette\Application\JsonResponse implements Nette\Application\IPresenterResponse
Namespace: 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

Nette\Application\IPresenterResponse::send
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