HybridProfile

Backed enum for the standard followed by a hybrid electronic document: a PDF/A-3 file carrying a structured XML payload as an embedded file, as produced by MetaInfo::setFacturX().

Namespace: Com\Tecnick\Pdf

Backing type: string

File: HybridProfile.php line 41

Backed enum for the standard followed by a hybrid electronic document: a PDF/A-3 file carrying a structured XML payload as an embedded file, as produced by MetaInfo::setFacturX().

Each case supplies the payload file name, the XMP namespace URI, prefix, extension schema name, version and document type required by that standard.

Tags

Cases

FacturX

File: HybridProfile.php line 44

ZugferdV1

File: HybridProfile.php line 47

ZugferdV2

File: HybridProfile.php line 50

OrderX

File: HybridProfile.php line 53

Methods

description()

File: HybridProfile.php line 126

public description() : string

Return values

string

documentType()

File: HybridProfile.php line 118

public documentType() : string

Return values

string

fileName()

File: HybridProfile.php line 58

public fileName() : string

Return values

string

fromLoose()

File: HybridProfile.php line 145

public static fromLoose(string|self $value) : self

Accepts the profile identifier (case-insensitive, surrounding whitespace trimmed) or an enum instance (returned unchanged). Unknown values throw.

Parameters

  • $value : string|self: Profile identifier or enum case.

Tags

  • throws: Exception if the value is not a known profile.

Return values

self

namespaceUri()

File: HybridProfile.php line 71

public namespaceUri() : string

Return values

string

prefix()

File: HybridProfile.php line 84

public prefix() : string

Return values

string

schemaName()

File: HybridProfile.php line 106

public schemaName() : string

Return values

string

version()

File: HybridProfile.php line 95

public version() : string

Return values

string