CheckboxOptions
in package
FinalYes
Options for {@see \Phpdftk\Pdf\Writer\PdfDoc::addCheckbox()}.
onValue is the export value emitted when the checkbox is ticked
(PDF convention: Yes). defaultChecked controls the initial state.
Table of Contents
Properties
- $defaultChecked : bool
- $onValue : string
- $readOnly : bool
- $required : bool
Methods
- __construct() : mixed
Properties
$defaultChecked read-only
public
bool
$defaultChecked
= false
$onValue read-only
public
string
$onValue
= 'Yes'
$readOnly read-only
public
bool
$readOnly
= false
$required read-only
public
bool
$required
= false
Methods
__construct()
public
__construct([string $onValue = 'Yes' ][, bool $defaultChecked = false ][, bool $required = false ][, bool $readOnly = false ]) : mixed
Parameters
- $onValue : string = 'Yes'
- $defaultChecked : bool = false
- $required : bool = false
- $readOnly : bool = false