Index
- \SetaPDF
- Core
- Core
- Canvas
- Canvas
- ColorSpace
- ColorSpace
- DataStructure
- Document
- Document
- Encoding
- Encoding
- Filter
- Font
- Font
- Geometry
- IccProfile
- Image
- Image
- Parser
- Reader
- Resource
- Resource
- SecHandler
- SecHandler
- Text
- Text
- Type
- Writer
- Writer
- XObject
- XObject
- BitConverter
- EmbeddedFileStream
- Exception
- FileSpecification
- OutputIntent
- PageBoundaries
- PageFormats
- Tokenizer
- TransparencyGroup
- WriteInterface
- XmpHelper
SetaPDF_Core_XmpHelper A helper class for an easy lightweight access to XMP data packages
File: /SetaPDF v2/Core/XmpHelper.php
Class hierarchy
Summary
Properties
$xml
protected DOMDocument SetaPDF_Core_XmpHelper::$xml
$xmlAliases
public SetaPDF_Core_XmpHelper::$xmlAliases = array(...)
Static Methods
decodeTagName()
public static SetaPDF_Core_XmpHelper::decodeTagName (
string|string[] $encodedTagName
): string|string[]Decodes a tag name as specified in the XMP Specification Part 3 - 2.2.1
Parameters
- $encodedTagName : string|string[]
encodeTagName()
Encodes a tag name as specified in the XMP Specification Part 3 - 2.2.1
Parameters
- $tagName : string|string[]
Methods
__construct()
_findDescription()
Finds or creates a Description tag with the desired namespace.
Parameters
- $namespace : string
set()
public SetaPDF_Core_XmpHelper::set (
string $namespace, string $tagName, bool|string|array $value
): voidUpdates a single field in the XMP package.
Parameters
- $namespace : string
The namespace of the element
- $tagName : string
The tag name
- $value : bool|string|array
The value