PHP 클래스 CakePdf\Pdf\Engine\DomPdfEngine

상속: extends CakePdf\Pdf\Engine\AbstractPdfEngine
파일 보기 프로젝트 열기: ceeram/cakepdf

공개 메소드들

메소드 설명
output ( ) : string Generates Pdf from html

보호된 메소드들

메소드 설명
_createInstance ( array $options ) : Dompdf\Dompdf Creates the Dompdf instance.
_output ( Dompdf\Dompdf $DomPDF ) : string Generates the PDF output.
_render ( CakePdf $Pdf, Dompdf\Dompdf $DomPDF ) : Dompdf\Dompdf Renders the Dompdf instance.

메소드 상세

_createInstance() 보호된 메소드

Creates the Dompdf instance.
protected _createInstance ( array $options ) : Dompdf\Dompdf
$options array The engine options.
리턴 Dompdf\Dompdf

_output() 보호된 메소드

Generates the PDF output.
protected _output ( Dompdf\Dompdf $DomPDF ) : string
$DomPDF Dompdf\Dompdf The Dompdf instance from which to generate the output from.
리턴 string

_render() 보호된 메소드

Renders the Dompdf instance.
protected _render ( CakePdf $Pdf, Dompdf\Dompdf $DomPDF ) : Dompdf\Dompdf
$Pdf CakePdf\Pdf\CakePdf The CakePdf instance that supplies the content to render.
$DomPDF Dompdf\Dompdf The Dompdf instance to render.
리턴 Dompdf\Dompdf

output() 공개 메소드

Generates Pdf from html
public output ( ) : string
리턴 string raw pdf data