Property | Type | Description | |
---|---|---|---|
$_binary | string | Path to the tex binary of your choice. |
Method | Description | |
---|---|---|
__construct ( |
Constructor | |
output ( ) : string | Generates Pdf from html |
Method | Description | |
---|---|---|
_buildCommand ( ) : string | Builds the command. | |
_cleanUpTexFiles ( string $texFile ) : void | Clean up the files generated by tex. | |
_exec ( string $cmd, string $input ) : string | Execute the latex binary commands for rendering pdfs | |
_getCommand ( ) : string | Get the command to render a pdf | |
_writeTexFile ( ) : string | Write the tex file. |
public __construct ( |
||
CakePdf instance |
protected _buildCommand ( ) : string | ||
return | string | The command with params and options. |
protected _cleanUpTexFiles ( string $texFile ) : void | ||
$texFile | string | Tex file name. |
return | void |
protected _getCommand ( ) : string | ||
return | string | the command for generating the pdf |
protected _writeTexFile ( ) : string | ||
return | string | Returns the file name of the written tex file. |
protected string $_binary | ||
return | string |