|
eZ Publish
[trunk]
|
Handles file downloading by passing the file through PHP. More...
Inheritance diagram for eZFilePassthroughHandler:
Collaboration diagram for eZFilePassthroughHandler:Public Member Functions | |
| eZFilePassthroughHandler () | |
| handleFileDownload ($contentObject, $contentObjectAttribute, $type, $fileInfo) | |
Public Attributes | |
| const | HANDLER_ID = 'ezfilepassthrough' |
Static Protected Member Functions | |
| static | dispositionType ($mimeType) |
| Checks if a file should be downloaded to disk or displayed inline in the browser. | |
Handles file downloading by passing the file through PHP.
Definition at line 17 of file ezfilepassthroughhandler.php.
| static eZFilePassthroughHandler::dispositionType | ( | $ | mimeType | ) | [static, protected] |
Checks if a file should be downloaded to disk or displayed inline in the browser.
This method returns "attachment" if no setting for the mime type is found.
| string | $mimetype |
Definition at line 91 of file ezfilepassthroughhandler.php.
Definition at line 21 of file ezfilepassthroughhandler.php.
| eZFilePassthroughHandler::handleFileDownload | ( | $ | contentObject, |
| $ | contentObjectAttribute, | ||
| $ | type, | ||
| $ | fileInfo | ||
| ) |
Reimplemented from eZBinaryFileHandler.
Definition at line 26 of file ezfilepassthroughhandler.php.
| const eZFilePassthroughHandler::HANDLER_ID = 'ezfilepassthrough' |
Definition at line 19 of file ezfilepassthroughhandler.php.