PHP 클래스 mikehaertl\pdftk\XfdfFile
This class represents a temporary XFDF file that can be used to fill a PDF form
with valid unicode characters.
파일 보기
프로젝트 열기: mikehaertl/php-pdftk
1 사용 예제들
공개 메소드들
보호된 메소드들
메소드 |
설명 |
|
writeFields ( integer $fp, mixed[] $fields ) |
Write the fields to the given filepointer |
|
메소드 상세
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'. |
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. |