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

Inheritance: extends eZ\Publish\Core\FieldType\Image\PathGenerator
Datei anzeigen Open project: ezsystems/ezpublish-kernel Class Usage Examples

Public Methods

Method Description
getStoragePathForField ( mixed $fieldId, integer $versionNo, string $languageCode ) : string Generates the storage path for the field identified by parameters.

Private Methods

Method Description
getDirectoryStructure ( string $id ) : string Computes a 4 levels directory structure from $id.

Method Details

getStoragePathForField() public method

Returns a relative storage path.
public getStoragePathForField ( mixed $fieldId, integer $versionNo, string $languageCode ) : string
$fieldId mixed
$versionNo integer
$languageCode string
return string