phpwkhtmltopdf.php in PHP WK HTML to PDF 7.2
File
lib/phpwkhtmltopdf.phpView source
<?php
/**
* Class WkHtmlToPdf used as a wrapper class to \mikehaertl\wkhtmlto\Pdf for backward compatibility.
*/
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);
}
}
Classes
Name | Description |
---|---|
WkHtmlToPdf | Class WkHtmlToPdf used as a wrapper class to \mikehaertl\wkhtmlto\Pdf for backward compatibility. |