Property | Type | Description | |
---|---|---|---|
$_binary | string | Path to the wkhtmltopdf executable binary |
Method | Description | |
---|---|---|
__construct ( |
Constructor | |
output ( ) : string | Generates Pdf from html |
Method | Description | |
---|---|---|
_exec ( string $cmd, string $input ) : string | Execute the WkHtmlToPdf commands for rendering pdfs | |
_getCommand ( ) : string | Get the command to render a pdf |
public __construct ( |
||
CakePdf instance |
protected _getCommand ( ) : string | ||
return | string | the command for generating the pdf |
protected string $_binary | ||
return | string |