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 NDownloadResponse

File download response.

NObject
Extended by NDownloadResponse implements IPresenterResponse
Package: Nette\Application
Author: David Grudl
Located at Application/Responses/DownloadResponse.php
Methods summary
public
# __construct( string $file, string $name = NULL, string $contentType = NULL )

Parameters

$file
string
file path
$name
string
user name name
$contentType
string
MIME content type
final public string
# getFile( )

Returns the path to a downloaded file.

Returns the path to a downloaded file.

Returns

string
final public string
# getName( )

Returns the file name.

Returns the file name.

Returns

string
final public string
# getContentType( )

Returns the MIME content type of a downloaded file.

Returns the MIME content type of a downloaded file.

Returns

string
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