Table of contents
Namespace: Com\Tecnick\Pdf
Backing type: string
File: AFRelationship.php line 37
Backed enum for the PDF/A-3 embedded file /AFRelationship value, as validated by JavaScript::addEmbeddedFile().
Tags
- since: 2026-07-17
- category: Library
- author: Nicola Asuni info@tecnick.com
- copyright: 2002-2026 Nicola Asuni - Tecnick.com LTD
- license: https://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE)
- link: https://github.com/tecnickcom/tc-lib-pdf
Cases
Source
File: AFRelationship.php line 39
Data
File: AFRelationship.php line 41
Alternative
File: AFRelationship.php line 43
Supplement
File: AFRelationship.php line 45
Unspecified
File: AFRelationship.php line 47
Methods
fromLoose()
File: AFRelationship.php line 59
public static fromLoose(string|self $value) : self
Accepts the exact relationship name or an enum instance (returned unchanged). Unknown values throw, matching addEmbeddedFile().
Parameters
- $value : string|self: AFRelationship name or enum case.
Tags
- throws: Exception if the value is not a known AFRelationship.
Return values
self