PHP Class eZ\Publish\Core\FieldType\BinaryBase\PathGenerator\LegacyPathGenerator

Inheritance: extends eZ\Publish\SPI\FieldType\BinaryBase\PathGenerator
Afficher le fichier Open project: ezsystems/ezpublish-kernel

Méthodes publiques

Méthode Description
getStoragePathForField ( eZ\Publish\SPI\Persistence\Content\Field $field, eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo )

Méthodes protégées

Méthode Description
getFirstPartOfMimeType ( string $mimeType ) : string Extracts the first part (before the '/') from the given $mimeType.

Method Details

getFirstPartOfMimeType() protected méthode

Extracts the first part (before the '/') from the given $mimeType.
protected getFirstPartOfMimeType ( string $mimeType ) : string
$mimeType string
Résultat string

getStoragePathForField() public méthode

public getStoragePathForField ( eZ\Publish\SPI\Persistence\Content\Field $field, eZ\Publish\SPI\Persistence\Content\VersionInfo $versionInfo )
$field eZ\Publish\SPI\Persistence\Content\Field
$versionInfo eZ\Publish\SPI\Persistence\Content\VersionInfo