eZPublish  4.4
eZFileDirectHandler Class Reference

Handles file downloading by passing an URL directly to the file. More...

+ Inheritance diagram for eZFileDirectHandler:
+ Collaboration diagram for eZFileDirectHandler:

Public Member Functions

 eZFileDirectHandler ()
 
 handleFileDownload ($contentObject, $contentObjectAttribute, $type, $fileInfo)
 
 viewTemplate ($contentobjectAttribute)
 
- Public Member Functions inherited from eZBinaryFileHandler
 attribute ($attribute)
 
 attributes ()
 
 downloadFileObject ($contentObject, $contentObjectAttribute)
 
 downloadType ($contentObject, $contentObjectAttribute)
 
 downloadURL ($contentObject, $contentObjectAttribute)
 
 editTemplate ($contentobjectAttribute)
 
 eZBinaryFileHandler ($identifier, $name, $handleType)
 
 handleDownload ($contentObject, $contentObjectAttribute, $type)
 
 handleFileDownload ($contentObject, $contentObjectAttribute, $type, $mimeData)
 
 handleUpload ()
 
 hasAttribute ($attribute)
 
 informationTemplate ($contentobjectAttribute)
 
 repositories ()
 
 storedFilename (&$binary, $returnMimeData=false)
 
 viewTemplate ($contentobjectAttribute)
 

Public Attributes

const HANDLER_ID = 'ezfiledirect'
 
- Public Attributes inherited from eZBinaryFileHandler
 $Info
 
const HANDLE_ALL = 0x3
 
const HANDLE_DOWNLOAD = 0x2
 
const HANDLE_UPLOAD = 0x1
 
const RESULT_OK = 1
 
const RESULT_UNAVAILABLE = 2
 
const TYPE_FILE = 'file'
 
const TYPE_MEDIA = 'media'
 

Additional Inherited Members

- Static Public Member Functions inherited from eZBinaryFileHandler
static instance ($identifier=false)
 Returns a shared instance of the eZBinaryFileHandler class pr $handlerName as defined in file.ini[BinaryFileSettings]Handler. More...
 

Detailed Description

Handles file downloading by passing an URL directly to the file.

Member Function Documentation

eZFileDirectHandler::eZFileDirectHandler ( )
eZFileDirectHandler::handleFileDownload (   $contentObject,
  $contentObjectAttribute,
  $type,
  $fileInfo 
)
eZFileDirectHandler::viewTemplate (   $contentobjectAttribute)
Returns
the direct download template suffix

Member Data Documentation

const eZFileDirectHandler::HANDLER_ID = 'ezfiledirect'

The documentation for this class was generated from the following file: