\MatthiasWeb\RealMediaLibrary\compHierarchicalFilenameResolver

Resolve filenames by a set of attachment ids.

Summary

Methods
Properties
Constants
__construct()
excludeRoot()
resolve()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$folders
$rootFolder
N/A

Properties

$folders

$folders :

Type

$rootFolder

$rootFolder :

Type

Methods

excludeRoot()

excludeRoot(\MatthiasWeb\RealMediaLibrary\api\IFolder  $folder): boolean

Exclude the main folder from the attachment path because the exported zip already starts with the exported name as first-level folder.

Parameters

\MatthiasWeb\RealMediaLibrary\api\IFolder $folder

Returns

boolean

resolve()

resolve(string  $file,array  $attachment,array<mixed,integer>  $attachmentIds): string

Resolve the filename to RML specific folder.

Parameters

string $file
array $attachment
array<mixed,integer> $attachmentIds

Returns

string