copyPdfProfiles
createModulePDF
deletePDFStructureDefinition
getAvailableLogos
getPDFStructureDefinitions
getSectionHeadline
loadPDFStructureDefinitions
processAttributes
processFormatTags
processLine
savePDFStructureDefinitions
translateFieldIDToName
FPDF_FONTPATH
LAMPDF_LINEWIDTH
UFPDF_VERSION
copyPdfProfiles(array $pdfProfiles, String $scope, array $dests) : boolean
array
PDF profile names
String
account scope
array
destinations
boolean
operation succeededcreateModulePDF(array $accounts, string $pdf_structure, \$returnAsString $returnAsString) : String
array
A numbered array containing all accounts the PDF page should be created for. The entries of the array must be AccountContainer objects.
string
The filename of the structure definition that should be used to create the PDF page. If not submitted the 'default.user' structure definition for the appropriate account type.
\$returnAsString
returns the PDF output as String value instead of writing it to a file
String
PDF file namedeletePDFStructureDefinition(string $scope, string $definition) : boolean
string
account type
string
Name of definition to delete
boolean
True if file was deleted or false if a problem occured.getAvailableLogos() : array
array
list of logo filesgetPDFStructureDefinitions(string $scope, string $profile) : array
string
The account scope the PDF structure definitions should be returned.
string
server profile name
array
$scope All available PDF structure definitions for the submitted account scope. Each entry is a string being the filename that may be passed to the createModulePDF() function as second argument.getSectionHeadline(string $line) : string
string
section name
string
XML code for headlineloadPDFStructureDefinitions(string $scope, string $pdf_structure) : array
Used in createModulePDF.
string
The account scope for wich the PDF structure should be returned.
string
Structure name of selected scope wich should be returned.
array
PDF structureprocessAttributes(string $attrs, array $return) : array
string
attributes
array
XML code
array
XML codeprocessFormatTags(string $line, string $style) : array
string
XML code of PDF entry
string
style commands
array
XML codeprocessLine(string $line, boolean $first_td, String $fontName) : array
string
XML code of PDF entry
boolean
True if this is the first column
String
font name
array
XML codessavePDFStructureDefinitions(string $scope, string $definition) : string
string
account type
string
Name of definition
string
"no perms" if access denied or "ok".translateFieldIDToName(String $id, String $scope)
inetOrgPerson_givenName) to its descriptive name.
String
field ID
String
account type
FPDF_FONTPATH
LAMPDF_LINEWIDTH
UFPDF_VERSION