eZPublish  3.9
eZBinaryFileHandler Class Reference

Interface for all binary file handlers. More...

+ Inheritance diagram for eZBinaryFileHandler:

Public Member Functions

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)
 
instance ($identifier=false)
 
 repositories ()
 
 storedFilename (&$binary, $returnMimeData=false)
 
viewTemplate (&$contentobjectAttribute)
 

Private Attributes

 $Info
 

Detailed Description

Interface for all binary file handlers.

eZBinaryHandlers Binary file handlers

Member Function Documentation

& eZBinaryFileHandler::attribute (   $attribute)
eZBinaryFileHandler::attributes ( )
eZBinaryFileHandler::downloadFileObject ( $contentObject,
$contentObjectAttribute 
)
Returns
the file object which corresponds to $contentObject and $contentObjectAttribute.

Referenced by downloadURL().

eZBinaryFileHandler::downloadType ( $contentObject,
$contentObjectAttribute 
)
Returns
the file object type which corresponds to $contentObject and $contentObjectAttribute.
Deprecated:

Referenced by downloadURL().

eZBinaryFileHandler::downloadURL ( $contentObject,
$contentObjectAttribute 
)
Returns
the download url for the file object which corresponds to $contentObject and $contentObjectAttribute.
Deprecated:
& eZBinaryFileHandler::editTemplate ( $contentobjectAttribute)
Returns
the suffix for the template name which will be used for attribute viewing.
Note
Default returns false which means no special template.
eZBinaryFileHandler::eZBinaryFileHandler (   $identifier,
  $name,
  $handleType 
)
eZBinaryFileHandler::handleDownload ( $contentObject,
$contentObjectAttribute,
  $type 
)
eZBinaryFileHandler::handleFileDownload ( $contentObject,
$contentObjectAttribute,
  $type,
  $mimeData 
)

Referenced by handleDownload().

eZBinaryFileHandler::handleUpload ( )
eZBinaryFileHandler::hasAttribute (   $attribute)
& eZBinaryFileHandler::informationTemplate ( $contentobjectAttribute)
Returns
the suffix for the template name which will be used for attribute viewing.
Note
Default returns false which means no special template.
& eZBinaryFileHandler::instance (   $identifier = false)
eZBinaryFileHandler::repositories ( )
eZBinaryFileHandler::storedFilename ( $binary,
  $returnMimeData = false 
)

Figures out the filename from the binary object $binary. Currently supports eZBinaryFile, eZMedia and eZImageAliasHandler.

Returns
false if no file was found.
Parameters
$returnMimeDataIf this is set to true then it will return a mime structure, otherwise it returns the filename.
Deprecated:
& eZBinaryFileHandler::viewTemplate ( $contentobjectAttribute)
Returns
the suffix for the template name which will be used for attribute viewing.
Note
Default returns false which means no special template.

Member Data Documentation

eZBinaryFileHandler::$Info
private

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