class Pdf extends TCPDF (View source)
PDF export base class providing basic configuration.
Constants
PMA_PDF_FONT |
PDF font to use. |
Properties
array | $footerset | ||
array | $alias |
Methods
__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.
void
Footer()
This function must be named "Footer" to work with the TCPDF library
void
setAlias(string $name, string $value)
Function to set alias which will be expanded on page rendering.
void
_putpages()
Improved with alias expanding.
never
Error(mixed $msg = '')
Displays an error message
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.
void
Footer()
This function must be named "Footer" to work with the TCPDF library
void
setAlias(string $name, string $value)
Function to set alias which will be expanded on page rendering.
void
_putpages()
Improved with alias expanding.
never
Error(mixed $msg = '')
Displays an error message