kernel/classes/ezbinaryfilehandler.php
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
Properties
Methods


downloadFileObject(
$contentObject, $contentObjectAttribute
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$contentObject | ||
$contentObjectAttribute |


downloadType(
$contentObject, $contentObjectAttribute
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$contentObject | ||
$contentObjectAttribute |


downloadURL(
$contentObject, $contentObjectAttribute
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$contentObject | ||
$contentObjectAttribute |


eZBinaryFileHandler(
$identifier, $name, $handleType
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$identifier | ||
$name | ||
$handleType |


editTemplate(
$contentobjectAttribute
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$contentobjectAttribute |


handleDownload(
$contentObject, $contentObjectAttribute, $type
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$contentObject | ||
$contentObjectAttribute | ||
$type |


handleFileDownload(
$contentObject, $contentObjectAttribute, $type, $mimeData
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$contentObject | ||
$contentObjectAttribute | ||
$type | ||
$mimeData |


informationTemplate(
$contentobjectAttribute
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$contentobjectAttribute |


instance(
string | false $identifier
=
false
)
:
\eZBinaryFileHandler
static
Returns a shared instance of the eZBinaryFileHandler class pr $handlerName as defined in file.ini[BinaryFileSettings]Handler
Parameters
Returns
Name | Type | Description |
---|---|---|
$identifier | string | false | Uses file.ini[BinaryFileSettings]Handler if false |
Type | Description |
---|---|
\eZBinaryFileHandler |


storedFilename(
$binary, $returnMimeData
=
false
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$binary | ||
$returnMimeData |