kernel/classes/binaryhandlers/ezfiledirect/ezfiledirecthandler.php
\eZFileDirectHandler
Package:
- Parent(s)
- \eZBinaryFileHandler
Constants
HANDLE_UPLOAD
= 0x1
inheritedInherited from:
\eZBinaryFileHandler::HANDLE_UPLOAD
- Inherited_from
- \eZBinaryFileHandler::HANDLE_UPLOAD
HANDLE_DOWNLOAD
= 0x2
inheritedInherited from:
\eZBinaryFileHandler::HANDLE_DOWNLOAD
- Inherited_from
- \eZBinaryFileHandler::HANDLE_DOWNLOAD
HANDLE_ALL
= 0x3
inheritedInherited from:
\eZBinaryFileHandler::HANDLE_ALL
- Inherited_from
- \eZBinaryFileHandler::HANDLE_ALL
TYPE_FILE
= 'file'
inheritedInherited from:
\eZBinaryFileHandler::TYPE_FILE
- Inherited_from
- \eZBinaryFileHandler::TYPE_FILE
TYPE_MEDIA
= 'media'
inheritedInherited from:
\eZBinaryFileHandler::TYPE_MEDIA
- Inherited_from
- \eZBinaryFileHandler::TYPE_MEDIA
RESULT_OK
= 1
inheritedInherited from:
\eZBinaryFileHandler::RESULT_OK
- Inherited_from
- \eZBinaryFileHandler::RESULT_OK
RESULT_UNAVAILABLE
= 2
inheritedInherited from:
\eZBinaryFileHandler::RESULT_UNAVAILABLE
- Inherited_from
- \eZBinaryFileHandler::RESULT_UNAVAILABLE
Properties

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

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

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

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

downloadURL(
$contentObject, $contentObjectAttribute
)
:
void
inherited
Inherited from:
\eZBinaryFileHandler::downloadURL()
Parameters
| Name | Type | Description |
|---|---|---|
| $contentObject | ||
| $contentObjectAttribute |

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

editTemplate(
$contentobjectAttribute
)
:
void
inherited
Inherited from:
\eZBinaryFileHandler::editTemplate()
Parameters
| Name | Type | Description |
|---|---|---|
| $contentobjectAttribute |

handleDownload(
$contentObject, $contentObjectAttribute, $type
)
:
void
inherited
Inherited from:
\eZBinaryFileHandler::handleDownload()
Parameters
| Name | Type | Description |
|---|---|---|
| $contentObject | ||
| $contentObjectAttribute | ||
| $type |

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

hasAttribute(
$attribute
)
:
void
inherited
Inherited from:
\eZBinaryFileHandler::hasAttribute()
Parameters
| Name | Type | Description |
|---|---|---|
| $attribute |

informationTemplate(
$contentobjectAttribute
)
:
void
inherited
Inherited from:
\eZBinaryFileHandler::informationTemplate()
Parameters
| Name | Type | Description |
|---|---|---|
| $contentobjectAttribute |

instance(
\$identifier $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
Returns
| Name | Type | Description |
|---|---|---|
| $identifier | \$identifier | string|false Uses file.ini[BinaryFileSettings]Handler if false |
| Type | Description |
|---|---|
| \eZBinaryFileHandler |

storedFilename(
$binary, $returnMimeData
=
false
)
:
void
inherited
Inherited from:
\eZBinaryFileHandler::storedFilename()
Parameters
| Name | Type | Description |
|---|---|---|
| $binary | ||
| $returnMimeData |