pdfpage.php
Table of Contents
- translateFieldIDToName() : string|null
- Translates a given field ID (e.g. inetOrgPerson_givenName) to its descriptive name.
- updateBasicSettings() : void
- Updates basic settings such as logo and head line.
- updateSectionTitles() : void
- Updates section titles.
- addSection() : void
- Adds a new section if requested.
- addSectionEntry() : void
- Adds a new entry to a section if requested.
- removeItem() : void
- Removes a section or entry if requested.
- moveUp() : void
- Moves up a section or entry if requested.
- moveDown() : void
- Moves down a section or entry if requested.
Functions
translateFieldIDToName()
Translates a given field ID (e.g. inetOrgPerson_givenName) to its descriptive name.
translateFieldIDToName(string $id, string $scope, array<string|int, mixed> $availablePDFFields) : string|null
Parameters
- $id : string
-
field ID
- $scope : string
-
account type
- $availablePDFFields : array<string|int, mixed>
-
available PDF fields
Return values
string|null —field label or null if no matching module found
updateBasicSettings()
Updates basic settings such as logo and head line.
updateBasicSettings(PDFStructure &$structure, array<string|int, PdfLogo> $logoFiles) : void
Parameters
- $structure : PDFStructure
-
PDF structure
- $logoFiles : array<string|int, PdfLogo>
-
logos
Return values
void —updateSectionTitles()
Updates section titles.
updateSectionTitles(PDFStructure &$structure) : void
Parameters
- $structure : PDFStructure
-
PDF structure
Return values
void —addSection()
Adds a new section if requested.
addSection(PDFStructure &$structure) : void
Parameters
- $structure : PDFStructure
-
PDF structure
Return values
void —addSectionEntry()
Adds a new entry to a section if requested.
addSectionEntry(PDFStructure &$structure) : void
Parameters
- $structure : PDFStructure
-
PDF structure
Return values
void —removeItem()
Removes a section or entry if requested.
removeItem(PDFStructure &$structure) : void
Parameters
- $structure : PDFStructure
-
PDF structure
Return values
void —moveUp()
Moves up a section or entry if requested.
moveUp(PDFStructure &$structure) : void
Parameters
- $structure : PDFStructure
-
PDF structure
Return values
void —moveDown()
Moves down a section or entry if requested.
moveDown(PDFStructure &$structure) : void
Parameters
- $structure : PDFStructure
-
PDF structure