PHP 클래스 Pressbooks\Modules\Export\Prince\Pdf

상속: extends Pressbooks\Modules\Export\Export
파일 보기 프로젝트 열기: pressbooks/pressbooks 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$logfile string Fullpath to log file used by Prince.
$url string Service URL

보호된 프로퍼티들

프로퍼티 타입 설명
$cssOverrides string CSS overrides
$exportScriptPath string Fullpath to book JavaScript file.
$exportStylePath string Fullpath to book CSS file.

공개 메소드들

메소드 설명
__construct ( array $args )
convert ( ) : boolean Create $this->outputPath
hasDependencies ( ) : boolean Dependency check.
logError ( $message, array $more_info = [] ) Add $this->url as additional log info, fallback to parent.
validate ( ) : boolean Check the sanity of $this->outputPath

보호된 메소드들

메소드 설명
getPdfOutputIntent ( )
getPdfProfile ( )
isPdf ( string $file ) : boolean Verify if body is actual PDF
kneadCss ( ) : string Return kneaded CSS string
themeOptionsOverrides ( ) Override based on Theme Options

메소드 상세

__construct() 공개 메소드

public __construct ( array $args )
$args array

convert() 공개 메소드

Create $this->outputPath
public convert ( ) : boolean
리턴 boolean

getPdfOutputIntent() 보호된 메소드

protected getPdfOutputIntent ( )

getPdfProfile() 보호된 메소드

protected getPdfProfile ( )

hasDependencies() 정적인 공개 메소드

Dependency check.
static public hasDependencies ( ) : boolean
리턴 boolean

isPdf() 보호된 메소드

Verify if body is actual PDF
protected isPdf ( string $file ) : boolean
$file string
리턴 boolean

kneadCss() 보호된 메소드

Return kneaded CSS string
protected kneadCss ( ) : string
리턴 string

logError() 공개 메소드

Add $this->url as additional log info, fallback to parent.
public logError ( $message, array $more_info = [] )
$message
$more_info array (unused, overridden)

themeOptionsOverrides() 보호된 메소드

Override based on Theme Options
protected themeOptionsOverrides ( )

validate() 공개 메소드

Check the sanity of $this->outputPath
public validate ( ) : boolean
리턴 boolean

프로퍼티 상세

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

CSS overrides
protected string $cssOverrides
리턴 string

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

Fullpath to book JavaScript file.
protected string $exportScriptPath
리턴 string

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

Fullpath to book CSS file.
protected string $exportStylePath
리턴 string

$logfile 공개적으로 프로퍼티

Fullpath to log file used by Prince.
public string $logfile
리턴 string

$url 공개적으로 프로퍼티

Service URL
public string $url
리턴 string