You are here

class WkHtmlToPdf in PHP WK HTML to PDF 7.2

Class WkHtmlToPdf used as a wrapper class to \mikehaertl\wkhtmlto\Pdf for backward compatibility.

Hierarchy

Expanded class hierarchy of WkHtmlToPdf

File

lib/phpwkhtmltopdf.php, line 6

View source
class WkHtmlToPdf extends \mikehaertl\wkhtmlto\Pdf {

  /**
   * Constructor that passes the $options to the parent constructor.
   * @param null $options
   */
  function __construct($options = null) {
    $this->binary = variable_get('phpwkhtmltopdf_binary_path', 'wkhtmltopdf');
    parent::__construct($options);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
WkHtmlToPdf::__construct function Constructor that passes the $options to the parent constructor.