PHP 클래스 Fireguard\Report\Exporters\AbstractPhantomExporter

상속: extends AbstractExporter
파일 보기 프로젝트 열기: fireguard/report 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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 ) : AbstractPhantomExporter
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 ) : AbstractPhantomExporter
setCommandOptions ( array $options ) : AbstractPhantomExporter
setFormat ( string $format ) : AbstractPhantomExporter
setMargin ( string $margin ) : AbstractPhantomExporter
setOrientation ( $orientation ) : AbstractPhantomExporter

보호된 메소드들

메소드 설명
createHtmlFiles ( Fireguard\Report\Contracts\ReportContract $report )
getFooterScript ( )
getHeaderScript ( )
getScript ( $html, $heigth )
getViewPortHeight ( )
getViewPortWidth ( )
processInlineHtml ( $html )
saveFinishFile ( )

메소드 상세

addCommandOption() 공개 메소드

public addCommandOption ( string $option, string $value ) : AbstractPhantomExporter
$option string
$value string
리턴 AbstractPhantomExporter

createHtmlFiles() 보호된 메소드

protected createHtmlFiles ( Fireguard\Report\Contracts\ReportContract $report )
$report Fireguard\Report\Contracts\ReportContract

getBinaryPath() 공개 메소드

public getBinaryPath ( ) : string
리턴 string

getCommandOptions() 공개 메소드

public getCommandOptions ( ) : array
리턴 array

getFooterHeight() 공개 메소드

public getFooterHeight ( )

getFooterScript() 보호된 메소드

protected getFooterScript ( )

getFormat() 공개 메소드

public getFormat ( ) : string
리턴 string

getHeaderHeight() 공개 메소드

public getHeaderHeight ( )

getHeaderScript() 보호된 메소드

protected getHeaderScript ( )

getMargin() 공개 메소드

public getMargin ( ) : string
리턴 string

getOrientation() 공개 메소드

public getOrientation ( ) : string
리턴 string

getScript() 보호된 메소드

protected getScript ( $html, $heigth )

getViewPortHeight() 보호된 메소드

protected getViewPortHeight ( )

getViewPortWidth() 보호된 메소드

protected getViewPortWidth ( )

mountCommandOptions() 공개 메소드

public mountCommandOptions ( ) : string
리턴 string Command line string

mountScriptForExport() 공개 메소드

public mountScriptForExport ( ) : string
리턴 string Path for generated script

prefixOsPath() 공개 메소드

Prefix the input path for windows versions of PhantomJS
public prefixOsPath ( string $path, string $operationalSystem = PHP_OS ) : string
$path string
$operationalSystem string
리턴 string

processInlineHtml() 보호된 메소드

protected processInlineHtml ( $html )

saveFinishFile() 보호된 메소드

protected saveFinishFile ( )

setBinaryPath() 공개 메소드

public setBinaryPath ( $binaryPath ) : AbstractPhantomExporter
$binaryPath
리턴 AbstractPhantomExporter

setCommandOptions() 공개 메소드

public setCommandOptions ( array $options ) : AbstractPhantomExporter
$options array
리턴 AbstractPhantomExporter

setFormat() 공개 메소드

public setFormat ( string $format ) : AbstractPhantomExporter
$format string
리턴 AbstractPhantomExporter

setMargin() 공개 메소드

public setMargin ( string $margin ) : AbstractPhantomExporter
$margin string
리턴 AbstractPhantomExporter

setOrientation() 공개 메소드

public setOrientation ( $orientation ) : AbstractPhantomExporter
$orientation
리턴 AbstractPhantomExporter

프로퍼티 상세

$binaryPath 보호되어 있는 프로퍼티

Path for executable converter html to pdf
protected $binaryPath

$commandOptions 보호되어 있는 프로퍼티

PhantomJs Params
protected $commandOptions

$configValidOptions 보호되어 있는 프로퍼티

protected $configValidOptions

$format 보호되어 있는 프로퍼티

protected string $format
리턴 string

$htmlBodyPath 보호되어 있는 프로퍼티

protected $htmlBodyPath

$htmlFooter 보호되어 있는 프로퍼티

protected $htmlFooter

$htmlHeader 보호되어 있는 프로퍼티

protected $htmlHeader

$orientation 보호되어 있는 프로퍼티

['landscape', 'portrait']
protected $orientation

$validFormats 보호되어 있는 프로퍼티

protected $validFormats