class Pdf extends Pdf (View source)
Adapted from a LGPL script by Philip Clarke
Constants
PMA_PDF_FONT |
PDF font to use. |
Properties
array | $footerset | from Pdf | |
array | $alias | from Pdf | |
array | $tablewidths | ||
array | $headerset |
Methods
Constructs PDF and configures standard parameters.
Function to set alias which will be expanded on page rendering.
Add page if needed.
This method is used to render the page header.
Generate table
Defines the top margin.
Prints triggers
Print $table's CREATE definition
MySQL report
No description
No description
No description
No description
No description
No description
No description
No description
Details
__construct(string $orientation = 'P', string $unit = 'mm', string $format = 'A4', bool $unicode = true, string $encoding = 'UTF-8', bool $diskcache = false, false|int $pdfa = false)
Constructs PDF and configures standard parameters.
in
Pdf at line 72
void
Footer()
This function must be named "Footer" to work with the TCPDF library
in
Pdf at line 103
void
setAlias(string $name, string $value)
Function to set alias which will be expanded on page rendering.
in
Pdf at line 116
void
_putpages()
Improved with alias expanding.
in
Pdf at line 136
never
Error(mixed $msg = '')
Displays an error message
bool
checkPageBreak(mixed $h = 0, mixed $y = '', mixed $addpage = true)
Add page if needed.
void
Header()
This method is used to render the page header.
void
morepagestable(int|float $lineheight = 8)
Generate table
void
setTopMargin(mixed $margin)
Defines the top margin.
The method can be called before creating the first page.
void
getTriggers(string $db, string $table)
Prints triggers
void
getTableDef(string $db, string $table, bool $doRelation, bool $doComments, bool $doMime)
Print $table's CREATE definition
void
mysqlReport(string $query)
MySQL report
void
setTitleFontSize(int $titleFontSize)
No description
void
setTitleText(string $titleText)
No description
void
setCurrentDb(string|null $currentDb)
No description
void
setCurrentTable(string|null $currentTable)
No description
void
setDbAlias(string|null $dbAlias)
No description
void
setTableAlias(string|null $tableAlias)
No description
void
setAliases(array $aliases)
No description
void
setPurpose(string $purpose)
No description