FileDocument Class Reference

Detailed Description

FileDocument represents a local file.

Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 21 of file FileDocument.php.

+ Inheritance diagram for FileDocument:

Public Member Functions

 __construct ($filename, $isDownload)
 
 getCacheDate ()
 
 getContent ()
 
 output ()
 
- Public Member Functions inherited from AbstractDocument
 __construct ($mimeType, $isDownload, $filename)
 
 getMimeType ()
 
 isDownload ()
 
 getFilename ()
 

Constructor & Destructor Documentation

◆ __construct()

__construct (   $filename,
  $isDownload 
)

Constructor.

Parameters
$file
$isDownload

Definition at line 30 of file FileDocument.php.

Member Function Documentation

◆ getCacheDate()

getCacheDate ( )
See also
ResponseDocument::getCacheDate()

Reimplemented from AbstractDocument.

Definition at line 42 of file FileDocument.php.

◆ getContent()

getContent ( )
See also
ResponseDocument::getContent()

Implements ResponseDocument.

Definition at line 49 of file FileDocument.php.

◆ output()

output ( )
See also
ResponseDocument::output()

Implements ResponseDocument.

Definition at line 56 of file FileDocument.php.