ChoiceField
extends Field
in package
Choice field (/FT /Ch) - covers list boxes and combo boxes.
Attributes
- #[RequiresPdfVersion]
- \Phpdftk\Pdf\Core\PdfVersion::V1_2
Table of Contents
Properties
- $aa : PdfDictionary|null
- $da : PdfString|null
- $ds : PdfString|null
- $dv : mixed
- $ff : int
- $ft : PdfName|null
- $generationNumber : int
- $i : PdfArray|null
- $kids : array<int, PdfReference>
- $objectNumber : int
- $opt : PdfArray|null
- $parent : PdfReference|null
- $q : int|null
- $rv : PdfString|null
- $t : PdfString|null
- $ti : int|null
- $tm : PdfString|null
- $tu : PdfString|null
- $v : mixed
Methods
- __construct() : mixed
- toIndirectObject() : string
- Wrap the object in an indirect object structure: X Y obj ... endobj
- toPdf() : string
- Serialize the object's dictionary/value to PDF syntax.
- buildFieldDictionary() : PdfDictionary
- Build the common field dictionary entries.
Properties
$aa
public
PdfDictionary|null
$aa
= null
$da
public
PdfString|null
$da
= null
$ds
public
PdfString|null
$ds
= null
$dv
public
mixed
$dv
= null
$ff
public
int
$ff
= 0
$ft
public
PdfName|null
$ft
= null
$generationNumber
public
int
$generationNumber
= 0
$i
public
PdfArray|null
$i
= null
$kids
public
array<int, PdfReference>
$kids
= []
$objectNumber
public
int
$objectNumber
= 0
$opt
public
PdfArray|null
$opt
= null
$parent
public
PdfReference|null
$parent
= null
$q
public
int|null
$q
= null
$rv
public
PdfString|null
$rv
= null
$t
public
PdfString|null
$t
= null
$ti
public
int|null
$ti
= null
$tm
public
PdfString|null
$tm
= null
$tu
public
PdfString|null
$tu
= null
$v
public
mixed
$v
= null
Methods
__construct()
public
__construct() : mixed
toIndirectObject()
Wrap the object in an indirect object structure: X Y obj ... endobj
public
toIndirectObject() : string
Return values
stringtoPdf()
Serialize the object's dictionary/value to PDF syntax.
public
toPdf() : string
Return values
stringbuildFieldDictionary()
Build the common field dictionary entries.
protected
buildFieldDictionary() : PdfDictionary