Facade

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.

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

Methods

__construct()

File: Facade.php line 45

public __construct(Tcpdf $pdf) : mixed

Parameters

appearance()

File: Facade.php line 99

public appearance() : Appearance

Return values

Appearance

configure()

File: Facade.php line 56

public configure(TSignature $data) : self

Parameters

  • $data : TSignature: Signature configuration.

Tags

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

External

timestamp()

File: Facade.php line 69

public timestamp(TSignTimeStamp $data) : self

Parameters

  • $data : TSignTimeStamp: Timestamp configuration.

Tags

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