PDFStructure
in package
PDF structure
Tags
Table of Contents
- FOLDING_NONE = 'no'
- no folding marks
- FOLDING_STANDARD = 'standard'
- standard folding marks
- $foldingMarks : mixed
- $logo : mixed
- $sections : mixed
- $title : mixed
- export() : array<string|int, mixed>
- Returns an array representation of the structure.
- getFoldingMarks() : string|null
- Returns if to print folding marks.
- getLogo() : string|null
- Returns the logo file path.
- getSections() : array<string|int, PDFTextSection>|array<string|int, PDFEntrySection>
- Returns the sections.
- getTitle() : string
- Returns the title.
- import() : mixed
- Imports an array representation of the structure.
- setFoldingMarks() : mixed
- Sets if to print folding marks.
- setLogo() : mixed
- Sets the logo file path.
- setSections() : mixed
- Sets the sections.
- setTitle() : mixed
- 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
mixed
$foldingMarks
= 'no'
$logo
private
mixed
$logo
$sections
private
mixed
$sections
= []
$title
private
mixed
$title
= 'LDAP Account Manager'
Methods
export()
Returns an array representation of the structure.
public
export() : array<string|int, mixed>
Return values
array<string|int, mixed> —export data
getFoldingMarks()
Returns if to print folding marks.
public
getFoldingMarks() : string|null
Return values
string|null —print folding marks
getLogo()
Returns the logo file path.
public
getLogo() : string|null
Return values
string|null —logo
getSections()
Returns the sections.
public
getSections() : array<string|int, PDFTextSection>|array<string|int, PDFEntrySection>
Return values
array<string|int, PDFTextSection>|array<string|int, PDFEntrySection> —$sections
getTitle()
Returns the title.
public
getTitle() : string
Return values
string —title
import()
Imports an array representation of the structure.
public
import(array<string|int, mixed> $data) : mixed
Parameters
- $data : array<string|int, mixed>
-
import data
Return values
mixed —setFoldingMarks()
Sets if to print folding marks.
public
setFoldingMarks(string $foldingMarks) : mixed
Parameters
- $foldingMarks : string
-
print folding marks
Return values
mixed —setLogo()
Sets the logo file path.
public
setLogo(string $logo) : mixed
Parameters
- $logo : string
-
logo
Return values
mixed —setSections()
Sets the sections.
public
setSections(array<string|int, PDFTextSection>|array<string|int, PDFEntrySection> $sections) : mixed
Parameters
- $sections : array<string|int, PDFTextSection>|array<string|int, PDFEntrySection>
-
sections
Return values
mixed —setTitle()
Sets the title.
public
setTitle(string $title) : mixed
Parameters
- $title : string
-
title