PHP 클래스 mikehaertl\pdftk\XfdfFile

This class represents a temporary XFDF file that can be used to fill a PDF form with valid unicode characters.
저자: Tomas Holy ([email protected])
저자: Michael Härtl ([email protected])
상속: extends mikehaertl\tmp\File
파일 보기 프로젝트 열기: mikehaertl/php-pdftk 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( array $data, string | null $suffix = null, $prefix = null, string | null $directory = null, string | null $encoding = 'UTF-8' ) Constructor

보호된 메소드들

메소드 설명
writeFields ( integer $fp, mixed[] $fields ) Write the fields to the given filepointer

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( array $data, string | null $suffix = null, $prefix = null, string | null $directory = null, string | null $encoding = 'UTF-8' )
$data array the form data as name => value
$suffix string | null the optional suffix for the tmp file
$directory string | null directory where the file should be created. Autodetected if not provided.
$encoding string | null of the data. Default is 'UTF-8'.

writeFields() 보호된 메소드

Write the fields to the given filepointer
protected writeFields ( integer $fp, mixed[] $fields )
$fp integer
$fields mixed[] an array of field values. A value can also be another array in which case a nested field is written.