XfdfWriter
in package
FinalYes
XFDF (XML Forms Data Format) writer — ISO 32000-2 §12.7.8.
Generates a standalone .xfdf XML file containing field name/value pairs.
Table of Contents
Methods
- generate() : string
- Generate XFDF content from a field name → value map.
Methods
generate()
Generate XFDF content from a field name → value map.
public
static generate(array<string, string> $fields[, string|null $pdfPath = null ]) : string
Parameters
- $fields : array<string, string>
-
Field name => value
- $pdfPath : string|null = null
-
Optional href attribute pointing to the PDF