Procedural File: pdfstruct.inc
Source Location: /lib/pdfstruct.inc
Page Details:
Functions to manage the PDF structures.
Tags:
Includes:
deletePDFStructureDefinition [line 158]
boolean deletePDFStructureDefinition(
string $scope, string $definition)
|
|
Deletes XML file with PDF structure definitions.
Tags:
Parameters
string |
$scope |
account type |
string |
$definition |
Name of definition to delete |
getAvailableLogos [line 176]
array getAvailableLogos(
)
|
|
This function returns an array with all aviliable logo images.
Tags:
getPDFStructureDefinitions [line 47]
array getPDFStructureDefinitions(
[string $scope = "user"])
|
|
This function will return all available PDF structure definitions for the submitted account scope.
Tags:
Parameters
string |
$scope |
The account scope the PDF structure definitions should be returned. |
loadPDFStructureDefinitions [line 72]
array loadPDFStructureDefinitions(
[string $scope = 'user'], [string $pdf_structure = 'default'])
|
|
This function is used to get pdf structure from xml file. Used in createModulePDF.
Tags:
Parameters
string |
$scope |
The account scope for wich the PDF structure should be returned. |
string |
$pdf_structure |
Structure name of selected scope wich should be returned. |
savePDFStructureDefinitions [line 100]
string savePDFStructureDefinitions(
string $scope, string $definition)
|
|
Saves PDF structure definitions to XML file in format: <name>.<scope>.xml
Tags:
Parameters
string |
$scope |
account type |
string |
$definition |
Name of definition |
|