Documentation

HierarchicalFilenameResolver
in package

Resolve filenames by a set of attachment ids.

Table of Contents

Properties

$folders  : mixed
$rootFolder  : mixed

Methods

__construct()  : mixed
C'tor.
excludeRoot()  : bool
Exclude the main folder from the attachment path because the exported zip already starts with the exported name as first-level folder.
resolve()  : string
Resolve the filename to RML specific folder.

Properties

Methods

excludeRoot()

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

public excludeRoot(IFolder $folder) : bool
Parameters
$folder : IFolder
Return values
bool

resolve()

Resolve the filename to RML specific folder.

public resolve(string $file, array<string|int, mixed> $attachment, array<string|int, int> $attachmentIds) : string
Parameters
$file : string
$attachment : array<string|int, mixed>
$attachmentIds : array<string|int, int>
Return values
string

        
On this page

Search results