PHP 클래스 WKHtmlToPDF

(C) Moorfields Eye Hospital NHS Foundation Trust, 2008-2011 (C) OpenEyes Foundation, 2011-2013 This file is part of OpenEyes. OpenEyes is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. OpenEyes is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenEyes in a file titled COPYING. If not, see .
저자: OpenEyes ([email protected])
파일 보기 프로젝트 열기: openeyes/openeyes 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$bottom_margin
$custom_tags
$left
$left_margin
$middle
$right
$right_margin
$top_margin

보호된 프로퍼티들

프로퍼티 타입 설명
$barcodes
$canvas_image_path
$docrefs
$documents
$patients
$wkhtmltopdf

공개 메소드들

메소드 설명
__construct ( )
deleteFile ( $path )
fileExists ( $path )
fileSize ( $path )
findOrCreateDirectory ( $path )
formatFooter ( $footer, $left, $middle, $right )
generatePDF ( $imageDirectory, $prefix, $suffix, $html, $output_html = false, $inject_autoprint_js = true )
getAssetManager ( )
getPDFOptions ( $path )
readFile ( $path )
remapAssetPaths ( $html )
remapCanvasImagePaths ( $html )
setBarcode ( $barcode_html )
setBarcodes ( $barcodes )
setCanvasImagePath ( $image_path )
setCustomTag ( $tag_name, $value )
setDocref ( $docref )
setDocrefs ( $docrefs )
setDocuments ( $count )
setLeft ( $left )
setMarginBottom ( $bottom_margin )
setMarginLeft ( $left_margin )
setMarginRight ( $right_margin )
setMarginTop ( $top_margin )
setMiddle ( $middle )
setPatient ( $patient )
setPatients ( $patients )
setRight ( $right )
writeFile ( $path, $data )

보호된 메소드들

메소드 설명
execute ( $command )

메소드 상세

__construct() 공개 메소드

public __construct ( )

deleteFile() 공개 메소드

public deleteFile ( $path )

execute() 보호된 메소드

protected execute ( $command )

fileExists() 공개 메소드

public fileExists ( $path )

fileSize() 공개 메소드

public fileSize ( $path )

findOrCreateDirectory() 공개 메소드

public findOrCreateDirectory ( $path )

formatFooter() 공개 메소드

public formatFooter ( $footer, $left, $middle, $right )

generatePDF() 공개 메소드

public generatePDF ( $imageDirectory, $prefix, $suffix, $html, $output_html = false, $inject_autoprint_js = true )

getAssetManager() 공개 메소드

public getAssetManager ( )

getPDFOptions() 공개 메소드

public getPDFOptions ( $path )

readFile() 공개 메소드

public readFile ( $path )

remapAssetPaths() 공개 메소드

public remapAssetPaths ( $html )

remapCanvasImagePaths() 공개 메소드

public remapCanvasImagePaths ( $html )

setBarcode() 공개 메소드

public setBarcode ( $barcode_html )

setBarcodes() 공개 메소드

public setBarcodes ( $barcodes )

setCanvasImagePath() 공개 메소드

public setCanvasImagePath ( $image_path )

setCustomTag() 공개 메소드

public setCustomTag ( $tag_name, $value )

setDocref() 공개 메소드

public setDocref ( $docref )

setDocrefs() 공개 메소드

public setDocrefs ( $docrefs )

setDocuments() 공개 메소드

public setDocuments ( $count )

setLeft() 공개 메소드

public setLeft ( $left )

setMarginBottom() 공개 메소드

public setMarginBottom ( $bottom_margin )

setMarginLeft() 공개 메소드

public setMarginLeft ( $left_margin )

setMarginRight() 공개 메소드

public setMarginRight ( $right_margin )

setMarginTop() 공개 메소드

public setMarginTop ( $top_margin )

setMiddle() 공개 메소드

public setMiddle ( $middle )

setPatient() 공개 메소드

public setPatient ( $patient )

setPatients() 공개 메소드

public setPatients ( $patients )

setRight() 공개 메소드

public setRight ( $right )

writeFile() 공개 메소드

public writeFile ( $path, $data )

프로퍼티 상세

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

protected $barcodes

$bottom_margin 공개적으로 프로퍼티

public $bottom_margin

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

protected $canvas_image_path

$custom_tags 공개적으로 프로퍼티

public $custom_tags

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

protected $docrefs

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

protected $documents

$left 공개적으로 프로퍼티

public $left

$left_margin 공개적으로 프로퍼티

public $left_margin

$middle 공개적으로 프로퍼티

public $middle

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

protected $patients

$right 공개적으로 프로퍼티

public $right

$right_margin 공개적으로 프로퍼티

public $right_margin

$top_margin 공개적으로 프로퍼티

public $top_margin

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

protected $wkhtmltopdf