LDAP Account Manager

PDFStructure
in package

PDF structure

Tags
author

Roland Gruber

Table of Contents

FOLDING_NONE  = 'no'
no folding marks
FOLDING_STANDARD  = 'standard'
standard folding marks
NO_LOGO  = 'none'
$foldingMarks  : string
$logo  : string
$sections  : array<string|int, mixed>
$title  : string
export()  : array<string, string|string[]|array[]>
Returns an array representation of the structure.
getFoldingMarks()  : string
Returns if to print folding marks.
getLogo()  : string
Returns the logo file path.
getSections()  : array<string|int, PDFTextSection>|array<string|int, PDFEntrySection>
Returns the sections.
getTitle()  : string
Returns the title.
import()  : void
Imports an array representation of the structure.
isValidLogoFileName()  : bool
Returns if the given logo file name is valid.
setFoldingMarks()  : void
Sets if to print folding marks.
setLogo()  : void
Sets the logo file path.
setSections()  : void
Sets the sections.
setTitle()  : void
Sets the title.

Constants

FOLDING_NONE

no folding marks

public mixed FOLDING_NONE = 'no'

FOLDING_STANDARD

standard folding marks

public mixed FOLDING_STANDARD = 'standard'

Properties

$foldingMarks

private string $foldingMarks = 'no'
private string $logo = self::NO_LOGO

$sections

private array<string|int, mixed> $sections = []

sections

$title

private string $title = 'LDAP Account Manager'

Methods

export()

Returns an array representation of the structure.

public export() : array<string, string|string[]|array[]>
Return values
array<string, string|string[]|array[]>

export data

getFoldingMarks()

Returns if to print folding marks.

public getFoldingMarks() : string
Return values
string

print folding marks

Returns the logo file path.

public getLogo() : string
Return values
string

logo

getTitle()

Returns the title.

public getTitle() : string
Return values
string

title

import()

Imports an array representation of the structure.

public import(array<string, string|string[]|array[]> $data) : void
Parameters
$data : array<string, string|string[]|array[]>

import data

Return values
void

isValidLogoFileName()

Returns if the given logo file name is valid.

public static isValidLogoFileName(string $fileName) : bool
Parameters
$fileName : string

file name

Return values
bool

valid

setFoldingMarks()

Sets if to print folding marks.

public setFoldingMarks(string|null $foldingMarks) : void
Parameters
$foldingMarks : string|null

print folding marks

Tags
throws
LAMException

invalid folding marks

Return values
void

Sets the logo file path.

public setLogo(string|null $logo) : void
Parameters
$logo : string|null

logo

Tags
throws
LAMException

invalid logo

Return values
void

setTitle()

Sets the title.

public setTitle(string $title) : void
Parameters
$title : string

title

Return values
void

Search results