PHP Класс PMA\libraries\PDF

Наследование: extends TCPD\TCPDF
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$Alias
$footerset

Открытые методы

Метод Описание
Download ( string $filename ) : void Sends file as a download to user.
Error ( string $error_message = '' ) : void Displays an error message
Footer ( ) : void This function must be named "Footer" to work with the TCPDF library
SetAlias ( string $name, string $value ) : void Function to set alias which will be expanded on page rendering.
__construct ( string $orientation = 'P', string $unit = 'mm', string $format = 'A4', boolean $unicode = true, string $encoding = 'UTF-8', boolean $diskcache = false, boolean $pdfa = false ) Constructs PDF and configures standard parameters.
_putpages ( ) : void Improved with alias expanding.

Описание методов

Download() публичный Метод

Sends file as a download to user.
public Download ( string $filename ) : void
$filename string file name
Результат void

Error() публичный Метод

Displays an error message
public Error ( string $error_message = '' ) : void
$error_message string the error message
Результат void

SetAlias() публичный Метод

Function to set alias which will be expanded on page rendering.
public SetAlias ( string $name, string $value ) : void
$name string name of the alias
$value string value of the alias
Результат void

__construct() публичный Метод

Constructs PDF and configures standard parameters.
public __construct ( string $orientation = 'P', string $unit = 'mm', string $format = 'A4', boolean $unicode = true, string $encoding = 'UTF-8', boolean $diskcache = false, boolean $pdfa = false )
$orientation string page orientation
$unit string unit
$format string the format used for pages
$unicode boolean true means that the input text is unicode
$encoding string charset encoding; default is UTF-8.
$diskcache boolean if true reduce the RAM memory usage by caching temporary data on filesystem (slower).
$pdfa boolean If TRUE set the document to PDF/A mode.

_putpages() публичный Метод

Improved with alias expanding.
public _putpages ( ) : void
Результат void

Описание свойств

$Alias публичное свойство

public $Alias

$footerset публичное свойство

public $footerset