Table of contents
Namespace: Com\Tecnick\Pdf\Signature
Final: Yes
File: Facade.php line 43
Fluent entry point for the signature subsystem, returned by Tcpdf::signature(). It groups the signature methods (configuration, timestamp, user rights, appearance, empty fields, external signing and the widget object id) behind one object, forwarding to the underlying Tcpdf methods.
Tags
- phpstan-import-type: TSignature from \Com\Tecnick\Pdf\Base
- phpstan-import-type: TSignTimeStamp from \Com\Tecnick\Pdf\Base
- phpstan-import-type: TUserRights from \Com\Tecnick\Pdf\Base
- since: 2002-08-03
- category: Library
- author: Nicola Asuni info@tecnick.com
- copyright: 2002-2026 Nicola Asuni - Tecnick.com LTD
- license: https://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE)
- link: https://github.com/tecnickcom/tc-lib-pdf
Methods
__construct()
File: Facade.php line 45
public __construct(Tcpdf $pdf) : mixed
Parameters
- $pdf : Tcpdf
appearance()
File: Facade.php line 99
public appearance() : Appearance
Return values
configure()
File: Facade.php line 56
public configure(TSignature $data) : self
Parameters
- $data : TSignature: Signature configuration.
Tags
- throws: Exception
Return values
self
emptyField()
File: Facade.php line 117
public emptyField([float $posx = 0 ][, float $posy = 0 ][, float $width = 0 ][, float $height = 0 ][, int $page = -1 ][, string $name = '' ][, string $description = '' ]) : self
Parameters
- $posx : float = 0: Abscissa of the upper-left corner.
- $posy : float = 0: Ordinate of the upper-left corner.
- $width : float = 0: Width of the signature area.
- $height : float = 0: Height of the signature area.
- $page : int = -1: Page number (if < 0 the current page is used).
- $name : string = ‘’: Name of the signature field.
- $description : string = ‘’: Description of the field, written as /TU in a tagged mode.
Tags
- throws: Exception
Return values
self
external()
File: Facade.php line 133
public external() : External
Return values
timestamp()
File: Facade.php line 69
public timestamp(TSignTimeStamp $data) : self
Parameters
- $data : TSignTimeStamp: Timestamp configuration.
Tags
- throws: Exception
Return values
self
upgradeToLta()
File: Facade.php line 90
public upgradeToLta() : self
Return values
self
userRights()
File: Facade.php line 80
public userRights(TUserRights $rights) : self
Parameters
- $rights : TUserRights: User rights.
Return values
self
widgetObjectId()
File: Facade.php line 141
public widgetObjectId() : int
Return values
int