This project is no longer maintained and no further public releases are planned.

No further support will be given.

Feel free to fork the git repository.

Generator\PdfGenerator

Generates PDF view using the extension pdf_generator2.
The configuration only requires the page type for PDF generation.

You cannot generate email attachments using this component. Generator\PdfGenerator can only be used as an action in Finisher\SubmittedOK.

Version added

1.0.0

Example code

... {
  class = Generator\PdfGenerator
  config {
    type = 123
    target = _blank
  }
}

Properties

.type

Page type for PDF generation.

Data type

Integer - cObj

Default value

123

Version added

1.0.0

.target

Target for the PDF link

Data type

String | cObj

Default value

_blank

Version added

1.0.0

.linkText

The text of the link

Data type

String | cObj

Default value

Save

Version added

1.0.0

.linkTarget

.linkTarget

Data type

String | cObj

Default value

_self

Version added

2.4.0

.additionalParams

Array of additional parameters to be set in the generation link URL.

Data type

Array

Version added

1.4.0

Example code

additionalParams {
  param1 = TEXT
  param1.value = myValue
}