\PDFExtension
PDFExtension Facilitate the generation of an SSViewer rendered PDF.
- Author: Will Morgan <@willmorgan>
Synopsis
class PDFExtension
extends DataExtension
{
- // members
- private static $wkhtmltopdf_binary = NULL;
- private static string $render_host = 'http://localhost/';
- // methods
- public static string get_wkhtmltopdf_binary()
- public static string get_render_host()
- public static Config_ForClass config()
- public string getPDFTemplate()
- public string forPDF()
- public string generatePDF()
Hierarchy
Extends
- DataExtension
Members
private
- $render_host — string
- $wkhtmltopdf_binary — string
Methods
public
- config()
- forPDF() — Render the object using SSViewer
- generatePDF()
- getPDFTemplate() — The template to use to render this PDF. The owner object can override this.
- get_render_host()
- get_wkhtmltopdf_binary()