kernel/classes/binaryhandlers/ezfilepassthrough/ezfilepassthroughhandler.php

Show: inherited
Table of Contents

File containing the eZFilePassthroughHandler 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  

\eZFilePassthroughHandler

Package: kernel

File containing the eZFilePassthroughHandler class.

Parent(s)
\eZBinaryFileHandler
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  HANDLER_ID = 'ezfilepassthrough'
Constant  HANDLE_UPLOAD = 0x1
inheritedInherited from: \eZBinaryFileHandler::HANDLE_UPLOAD
Constant  HANDLE_DOWNLOAD = 0x2
inheritedInherited from: \eZBinaryFileHandler::HANDLE_DOWNLOAD
Constant  HANDLE_ALL = 0x3
inheritedInherited from: \eZBinaryFileHandler::HANDLE_ALL
Constant  TYPE_FILE = 'file'
inheritedInherited from: \eZBinaryFileHandler::TYPE_FILE
Constant  TYPE_MEDIA = 'media'
inheritedInherited from: \eZBinaryFileHandler::TYPE_MEDIA
Constant  RESULT_OK = 1
inheritedInherited from: \eZBinaryFileHandler::RESULT_OK
Constant  RESULT_UNAVAILABLE = 2
inheritedInherited from: \eZBinaryFileHandler::RESULT_UNAVAILABLE

Properties

Propertypublic  $Info= ''
inheritedInherited from: \eZBinaryFileHandler::$$Info
Details
Type
n/a
Inherited_from
\eZBinaryFileHandler::$$Info  

Methods

methodpublicattribute(  $attribute ) : void
inherited

Inherited from: \eZBinaryFileHandler::attribute()
Parameters
Name Type Description
$attribute
methodpublicattributes( ) : void
inherited

Inherited from: \eZBinaryFileHandler::attributes()
methodprotecteddispositionType(  $mimeType ) : string
static

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.

Parameters
Name Type Description
$mimeType
Returns
Type Description
string "attachment" or "inline"
methodpublicdownloadFileObject(  $contentObject,  $contentObjectAttribute ) : void
inherited

Inherited from: \eZBinaryFileHandler::downloadFileObject()
Parameters
Name Type Description
$contentObject
$contentObjectAttribute
methodpublicdownloadType(  $contentObject,  $contentObjectAttribute ) : void
inherited

Inherited from: \eZBinaryFileHandler::downloadType()
Parameters
Name Type Description
$contentObject
$contentObjectAttribute
methodpublicdownloadURL(  $contentObject,  $contentObjectAttribute ) : void
inherited

Inherited from: \eZBinaryFileHandler::downloadURL()
Parameters
Name Type Description
$contentObject
$contentObjectAttribute
methodpubliceZBinaryFileHandler(  $identifier,  $name,  $handleType ) : void
Parameters
Name Type Description
$identifier
$name
$handleType
methodpubliceZFilePassthroughHandler( ) : void

methodpubliceditTemplate(  $contentobjectAttribute ) : void
inherited

Inherited from: \eZBinaryFileHandler::editTemplate()
Parameters
Name Type Description
$contentobjectAttribute
methodpublichandleDownload(  $contentObject,  $contentObjectAttribute,  $type ) : void
inherited

Inherited from: \eZBinaryFileHandler::handleDownload()
Parameters
Name Type Description
$contentObject
$contentObjectAttribute
$type
methodpublichandleFileDownload(  $contentObject,  $contentObjectAttribute,  $type,  $fileInfo ) : void

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

Inherited from: \eZBinaryFileHandler::handleUpload()
methodpublichasAttribute(  $attribute ) : void
inherited

Inherited from: \eZBinaryFileHandler::hasAttribute()
Parameters
Name Type Description
$attribute
methodpublicinformationTemplate(  $contentobjectAttribute ) : void
Parameters
Name Type Description
$contentobjectAttribute
methodpublicinstance( string | false $identifier = false ) : \eZBinaryFileHandler
staticinherited

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

Inherited from: \eZBinaryFileHandler::instance()
Parameters
Name Type Description
$identifier string | false

Uses file.ini[BinaryFileSettings]Handler if false

Returns
Type Description
\eZBinaryFileHandler
methodpublicrepositories( ) : void
inherited

Inherited from: \eZBinaryFileHandler::repositories()
methodpublicstoredFilename(  $binary,  $returnMimeData = false ) : void
inherited

Inherited from: \eZBinaryFileHandler::storedFilename()
Parameters
Name Type Description
$binary
$returnMimeData
methodpublicviewTemplate(  $contentobjectAttribute ) : void
inherited

Inherited from: \eZBinaryFileHandler::viewTemplate()
Parameters
Name Type Description
$contentobjectAttribute
Documentation was generated by DocBlox 0.18.1.