Property | Type | Description | |
---|---|---|---|
$IOService | eZ\Publish\Core\IO\IOServiceInterface | An instance of IOService configured to store to the images folder. | |
$downloadUrlGenerator | eZ\Publish\SPI\FieldType\BinaryBase\PathGenerator | ||
$mimeTypeDetector | eZ\Publish\SPI\IO\MimeTypeDetector | ||
$pathGenerator | eZ\Publish\SPI\FieldType\BinaryBase\PathGenerator |
Method | Description | |
---|---|---|
__construct ( array $gateways, eZ\Publish\Core\IO\IOServiceInterface $IOService, eZ\Publish\SPI\FieldType\BinaryBase\PathGenerator $pathGenerator, eZ\Publish\SPI\IO\MimeTypeDetector $mimeTypeDetector ) | Construct from gateways. | |
copyLegacyField ( eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo, eZ\Publish\SPI\Persistence\Content\Field $field, eZ\Publish\SPI\Persistence\Content\Field $originalField, array $context ) | ||
deleteFieldData ( eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo, array $fieldIds, array $context ) | ||
getFieldData ( eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo, eZ\Publish\SPI\Persistence\Content\Field $field, array $context ) | ||
getIndexData ( eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo, eZ\Publish\SPI\Persistence\Content\Field $field, array $context ) | ||
hasFieldData ( ) | ||
setDownloadUrlGenerator ( eZ\Publish\SPI\FieldType\BinaryBase\PathGenerator $downloadUrlGenerator ) | ||
storeFieldData ( eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo, eZ\Publish\SPI\Persistence\Content\Field $field, array $context ) |
Method | Description | |
---|---|---|
removeOldFile ( mixed $fieldId, string $versionNo, array $context ) | Removes the old file referenced by $fieldId in $versionNo, if not referenced else where. |
public __construct ( array $gateways, eZ\Publish\Core\IO\IOServiceInterface $IOService, eZ\Publish\SPI\FieldType\BinaryBase\PathGenerator $pathGenerator, eZ\Publish\SPI\IO\MimeTypeDetector $mimeTypeDetector ) | ||
$gateways | array | |
$IOService | eZ\Publish\Core\IO\IOServiceInterface | |
$pathGenerator | eZ\Publish\SPI\FieldType\BinaryBase\PathGenerator | |
$mimeTypeDetector | eZ\Publish\SPI\IO\MimeTypeDetector |
public copyLegacyField ( eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo, eZ\Publish\SPI\Persistence\Content\Field $field, eZ\Publish\SPI\Persistence\Content\Field $originalField, array $context ) | ||
$versionInfo | eZ\Publish\SPI\Persistence\Content\VersionInfo | |
$field | eZ\Publish\SPI\Persistence\Content\Field | |
$originalField | eZ\Publish\SPI\Persistence\Content\Field | |
$context | array |
public deleteFieldData ( eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo, array $fieldIds, array $context ) | ||
$versionInfo | eZ\Publish\SPI\Persistence\Content\VersionInfo | |
$fieldIds | array | |
$context | array |
public getFieldData ( eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo, eZ\Publish\SPI\Persistence\Content\Field $field, array $context ) | ||
$versionInfo | eZ\Publish\SPI\Persistence\Content\VersionInfo | |
$field | eZ\Publish\SPI\Persistence\Content\Field | |
$context | array |
public getIndexData ( eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo, eZ\Publish\SPI\Persistence\Content\Field $field, array $context ) | ||
$versionInfo | eZ\Publish\SPI\Persistence\Content\VersionInfo | |
$field | eZ\Publish\SPI\Persistence\Content\Field | |
$context | array |
public setDownloadUrlGenerator ( eZ\Publish\SPI\FieldType\BinaryBase\PathGenerator $downloadUrlGenerator ) | ||
$downloadUrlGenerator | eZ\Publish\SPI\FieldType\BinaryBase\PathGenerator |
public storeFieldData ( eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo, eZ\Publish\SPI\Persistence\Content\Field $field, array $context ) | ||
$versionInfo | eZ\Publish\SPI\Persistence\Content\VersionInfo | |
$field | eZ\Publish\SPI\Persistence\Content\Field | |
$context | array |
protected IOServiceInterface,eZ\Publish\Core\IO $IOService | ||
return | eZ\Publish\Core\IO\IOServiceInterface |
protected PathGenerator,eZ\Publish\SPI\FieldType\BinaryBase $downloadUrlGenerator | ||
return | eZ\Publish\SPI\FieldType\BinaryBase\PathGenerator |
protected MimeTypeDetector,eZ\Publish\SPI\IO $mimeTypeDetector | ||
return | eZ\Publish\SPI\IO\MimeTypeDetector |