Свойство | Тип | Описание | |
---|---|---|---|
$binaryPath | Path for executable converter html to pdf | ||
$commandOptions | PhantomJs Params | ||
$configValidOptions | |||
$format | string | ||
$htmlBodyPath | |||
$htmlFooter | |||
$htmlHeader | |||
$orientation | ['landscape', 'portrait'] | ||
$validFormats |
Метод | Описание | |
---|---|---|
addCommandOption ( string $option, string $value ) : |
||
getBinaryPath ( ) : string | ||
getCommandOptions ( ) : array | ||
getFooterHeight ( ) | ||
getFormat ( ) : string | ||
getHeaderHeight ( ) | ||
getMargin ( ) : string | ||
getOrientation ( ) : string | ||
mountCommandOptions ( ) : string | ||
mountScriptForExport ( ) : string | ||
prefixOsPath ( string $path, string $operationalSystem = PHP_OS ) : string | Prefix the input path for windows versions of PhantomJS | |
setBinaryPath ( $binaryPath ) : |
||
setCommandOptions ( array $options ) : |
||
setFormat ( string $format ) : |
||
setMargin ( string $margin ) : |
||
setOrientation ( $orientation ) : |
Метод | Описание | |
---|---|---|
createHtmlFiles ( Fireguard\Report\Contracts\ReportContract $report ) | ||
getFooterScript ( ) | ||
getHeaderScript ( ) | ||
getScript ( $html, $heigth ) | ||
getViewPortHeight ( ) | ||
getViewPortWidth ( ) | ||
processInlineHtml ( $html ) | ||
saveFinishFile ( ) |
public addCommandOption ( string $option, string $value ) : |
||
$option | string | |
$value | string | |
Результат |
protected createHtmlFiles ( Fireguard\Report\Contracts\ReportContract $report ) | ||
$report | Fireguard\Report\Contracts\ReportContract |
public mountCommandOptions ( ) : string | ||
Результат | string | Command line string |
public mountScriptForExport ( ) : string | ||
Результат | string | Path for generated script |
public setBinaryPath ( $binaryPath ) : |
||
$binaryPath | ||
Результат |
public setCommandOptions ( array $options ) : |
||
$options | array | |
Результат |
public setOrientation ( $orientation ) : |
||
$orientation | ||
Результат |