kernel/classes/ezbinaryfilehandler.php

Show: inherited
Table of Contents

File containing the eZBinaryFileHandler class.

Copyright
Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
License
eZ Business Use License Agreement Version 2.0  
Package
kernel  
Version
4.6.0  

\eZBinaryFileHandler

Package: kernel

File containing the eZBinaryFileHandler class.

Children
\eZFilePassthroughHandler
\eZFileDirectHandler
Copyright
Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
License
eZ Business Use License Agreement Version 2.0  
Version
4.6.0  

Constants

Constant  HANDLE_UPLOAD = 0x1
Constant  HANDLE_DOWNLOAD = 0x2
Constant  HANDLE_ALL = 0x3
Constant  TYPE_FILE = 'file'
Constant  TYPE_MEDIA = 'media'
Constant  RESULT_OK = 1
Constant  RESULT_UNAVAILABLE = 2

Properties

Propertypublic  $Info= ''
Details
Type
n/a

Methods

methodpublicattribute(  $attribute ) : void

Parameters
Name Type Description
$attribute
methodpublicattributes( ) : void

methodpublicdownloadFileObject(  $contentObject,  $contentObjectAttribute ) : void

Parameters
Name Type Description
$contentObject
$contentObjectAttribute
methodpublicdownloadType(  $contentObject,  $contentObjectAttribute ) : void

Parameters
Name Type Description
$contentObject
$contentObjectAttribute
methodpublicdownloadURL(  $contentObject,  $contentObjectAttribute ) : void

Parameters
Name Type Description
$contentObject
$contentObjectAttribute
methodpubliceZBinaryFileHandler(  $identifier,  $name,  $handleType ) : void

Parameters
Name Type Description
$identifier
$name
$handleType
methodpubliceditTemplate(  $contentobjectAttribute ) : void

Parameters
Name Type Description
$contentobjectAttribute
methodpublichandleDownload(  $contentObject,  $contentObjectAttribute,  $type ) : void

Parameters
Name Type Description
$contentObject
$contentObjectAttribute
$type
methodpublichandleFileDownload(  $contentObject,  $contentObjectAttribute,  $type,  $mimeData ) : void

Parameters
Name Type Description
$contentObject
$contentObjectAttribute
$type
$mimeData
methodpublichandleUpload( ) : void

methodpublichasAttribute(  $attribute ) : void

Parameters
Name Type Description
$attribute
methodpublicinformationTemplate(  $contentobjectAttribute ) : void

Parameters
Name Type Description
$contentobjectAttribute
methodpublicinstance( string | false $identifier = false ) : \eZBinaryFileHandler
static

Returns a shared instance of the eZBinaryFileHandler class pr $handlerName as defined in file.ini[BinaryFileSettings]Handler

Parameters
Name Type Description
$identifier string | false

Uses file.ini[BinaryFileSettings]Handler if false

Returns
Type Description
\eZBinaryFileHandler
methodpublicrepositories( ) : void

methodpublicstoredFilename(  $binary,  $returnMimeData = false ) : void

Parameters
Name Type Description
$binary
$returnMimeData
methodpublicviewTemplate(  $contentobjectAttribute ) : void

Parameters
Name Type Description
$contentobjectAttribute
Documentation was generated by DocBlox 0.18.1.