LDAP Account Manager

PdfStructurePersistenceStrategyFiles
in package
implements PdfStructurePersistenceStrategy

Manages PDF structures on file system.

Interfaces, Classes, Traits and Enums

PdfStructurePersistenceStrategy
Interface for PDF structure persistence.

Table of Contents

deletePdfLogo()  : void
Deletes a PDF logo.
deletePdfStructure()  : void
Deletes a PDF structure.
deletePdfStructureTemplate()  : void
Deletes a PDF structure template,
deletePdfTemplateLogo()  : void
Deletes a logo in global templates.
getPdfLogoBinary()  : string
Reads a PDF logo.
getPdfLogoNames()  : array<string|int, string>
Returns the list of available PDF logos.
getPDFStructures()  : array<string|int, string>
Returns all available PDF structure definitions for the submitted account type.
getPdfStructureTemplateNames()  : array<string|int, mixed>
Returns the names of existing PDF structure templates.
getPdfTemplateLogoBinary()  : string
Returns the binary data for the given template logo.
getPdfTemplateLogoNames()  : array<string|int, string>
Returns a list of template logo file names.
readPdfStructure()  : PDFStructure
Reads a PDF structure.
readPdfStructureTemplate()  : PDFStructure
Reads a PDF structure template.
savePdfLogo()  : void
Saves a PDF logo.
savePdfStructure()  : void
Saves the PDF structure.
savePdfStructureTemplate()  : void
Saves the PDF structure.
savePdfTemplateLogo()  : void
Saves the template logo.
getPdfLogoFileName()  : string
Returns the file name of a given logo.
getPdfStructureFileName()  : string
Returns the file name of the structure.
getPdfStructureTemplateFileName()  : string
Returns the file name for a PDF structure.
getPdfTemplateLogoFileName()  : string
Returns the file name of a given logo.

Methods

Deletes a PDF logo.

public deletePdfLogo(string $confName, string $name) : void
Parameters
$confName : string

server profile name

$name : string

logo name

Tags
inheritDoc
Return values
void

deletePdfStructure()

Deletes a PDF structure.

public deletePdfStructure(string $confName, string $typeId, string $name) : void
Parameters
$confName : string

server profile name

$typeId : string

user/group/host

$name : string

structure name

Tags
inheritDoc
Return values
void

deletePdfStructureTemplate()

Deletes a PDF structure template,

public deletePdfStructureTemplate(string $scope, string $name) : void
Parameters
$scope : string

user/group/host

$name : string

template name

Tags
inheritDoc
Return values
void

Deletes a logo in global templates.

public deletePdfTemplateLogo(string $name) : void
Parameters
$name : string

logo name

Tags
inheritDoc
Return values
void

getPdfLogoBinary()

Reads a PDF logo.

public getPdfLogoBinary(string $confName, string $name) : string
Parameters
$confName : string

server profile name

$name : string

file name

Tags
inheritDoc
Return values
string

binary data

getPdfLogoNames()

Returns the list of available PDF logos.

public getPdfLogoNames(string $confName) : array<string|int, string>
Parameters
$confName : string

server profile name

Tags
inheritDoc
Return values
array<string|int, string>

logos

getPDFStructures()

Returns all available PDF structure definitions for the submitted account type.

public getPDFStructures(string $confName, string $typeId) : array<string|int, string>
Parameters
$confName : string

server profile name

$typeId : string

the account type

Tags
inheritDoc
Return values
array<string|int, string>

structure names

getPdfStructureTemplateNames()

Returns the names of existing PDF structure templates.

public getPdfStructureTemplateNames() : array<string|int, mixed>
Tags
inheritDoc
Return values
array<string|int, mixed>

scope => names (e.g. array('user' => array('default')))

getPdfTemplateLogoBinary()

Returns the binary data for the given template logo.

public getPdfTemplateLogoBinary(string $name) : string
Parameters
$name : string

file name

Tags
inheritDoc
Return values
string

binary

getPdfTemplateLogoNames()

Returns a list of template logo file names.

public getPdfTemplateLogoNames() : array<string|int, string>
Tags
inheritDoc
Return values
array<string|int, string>

logo file names

readPdfStructure()

Reads a PDF structure.

public readPdfStructure(string $confName, string $typeId, string $name) : PDFStructure
Parameters
$confName : string

server profile name

$typeId : string

user/group/host

$name : string

structure name

Tags
inheritDoc
Return values
PDFStructure

PDF structure

readPdfStructureTemplate()

Reads a PDF structure template.

public readPdfStructureTemplate(string $scope, string $name) : PDFStructure
Parameters
$scope : string

user/group/host

$name : string

structure name

Tags
inheritDoc
Return values
PDFStructure

PDF structure

Saves a PDF logo.

public savePdfLogo(string $confName, string $name, string $data) : void
Parameters
$confName : string

server profile name

$name : string

logo name

$data : string

binary

Tags
inheritDoc
Return values
void

savePdfStructure()

Saves the PDF structure.

public savePdfStructure(string $confName, string $typeId, string $name, PDFStructure $structure) : void
Parameters
$confName : string

server profile name

$typeId : string

user/group/host

$name : string

structure name

$structure : PDFStructure

structure

Tags
inheritDoc
Return values
void

savePdfStructureTemplate()

Saves the PDF structure.

public savePdfStructureTemplate(string $scope, string $name, PDFStructure $structure) : void
Parameters
$scope : string

user/group/host

$name : string

structure name

$structure : PDFStructure

structure

Tags
inheritDoc
Return values
void

Saves the template logo.

public savePdfTemplateLogo(string $name, string $data) : void
Parameters
$name : string

file name

$data : string

binary data

Tags
inheritDoc
Return values
void

getPdfLogoFileName()

Returns the file name of a given logo.

private getPdfLogoFileName(string $confName, string $name) : string
Parameters
$confName : string

server profile name

$name : string

logo name

Return values
string

file name

getPdfStructureFileName()

Returns the file name of the structure.

private getPdfStructureFileName(string $confName, string $typeId, string $name) : string
Parameters
$confName : string

server profile name

$typeId : string

user/group/host

$name : string

structure name

Return values
string

file name

getPdfStructureTemplateFileName()

Returns the file name for a PDF structure.

private getPdfStructureTemplateFileName(string $scope, string $name) : string
Parameters
$scope : string

user/group/host

$name : string

structure name

Return values
string

file name

getPdfTemplateLogoFileName()

Returns the file name of a given logo.

private getPdfTemplateLogoFileName(string $name) : string
Parameters
$name : string

logo name

Return values
string

file name

Search results