phpdftk API Documentation

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

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

        
On this page

Search results