kernel/classes/binaryhandlers/ezfiledirect/ezfiledirecthandler.php
File containing the eZFileDirectHandler 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
\eZFileDirectHandler
Package: kernel
File containing the eZFileDirectHandler 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

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(
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
Returns
Name | Type | Description |
---|---|---|
$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 |