Packages

  • Nette
    • Application
      • Application\Diagnostics
      • Application\Responses
      • Application\Routers
      • Application\UI
    • Caching
      • Caching\Storages
    • ComponentModel
    • Config
    • Database
      • Database\Diagnostics
      • Database\Drivers
      • Database\Reflection
      • Database\Table
    • DI
    • Diagnostics
    • Forms
      • Forms\Controls
      • Forms\Rendering
    • Http
    • Iterators
    • Latte
      • Latte\Macros
    • Loaders
    • Localization
    • Mail
    • Reflection
    • Security
    • Templating
    • Utils
  • NetteModule
  • None
  • PHP

Classes

  • NFileResponse
  • NForwardResponse
  • NJsonResponse
  • NRedirectResponse
  • NTextResponse
  • Overview
  • Package
  • Class
  • Tree

Class NFileResponse

File download response.

NObject
Extended by NFileResponse implements IPresenterResponse
Package: Nette\Application\Responses
Author: David Grudl
Located at Application/Responses/FileResponse.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( IHttpRequest $httpRequest, IHttpResponse $httpResponse )

Sends response to output.

Sends response to output.

Implementation of

IPresenterResponse::send
Methods inherited from NObject
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Properties summary
public boolean $resuming TRUE
#
Nette Framework 2.0beta1 (for PHP 5.2) API API documentation generated by ApiGen 2.3.0