kernel/classes/ezbinaryfilehandler.php
\eZBinaryFileHandler
Package:
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(
\$identifier $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 | \$identifier | string|false Uses file.ini[BinaryFileSettings]Handler if false |
| Type | Description |
|---|---|
| \eZBinaryFileHandler |

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