class final readonly Optional · pdftoolkit/pdf-to-html 0.8.4

PDF\Html\Model\FormField

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(string $name, PDF\Html\Forms\FieldType $type, int $flags = 0, array|string|null $value = null, array $options = [], array $selectedIndices = [], ?int $maximumLength = null, ?string $richText = null, array $actions = [], ?string $actionType = null, ?string $actionTarget = null, int $submitFlags = 0, array|string|null $defaultValue = null, ?PDF\Html\Forms\ResetFormAction $resetAction = null, ?PDF\Html\Forms\SubmitFormAction $submitAction = null, ?string $mappingName = null)
@param string|list<string>|null $value
@param list<ChoiceOption> $options
@param list<int> $selectedIndices
@param array<string,string> $actions
@param string|list<string>|null $defaultValue PDF /DV; null means no default value, not the initial /V.

Declared by PDF\Html\Model\FormField · View the code ↗

Declared methods

resetFormAction()

public function resetFormAction(): ?PDF\Html\Forms\ResetFormAction

Declared by PDF\Html\Model\FormField · View the code ↗

submitFormAction()

public function submitFormAction(): ?PDF\Html\Forms\SubmitFormAction

Declared by PDF\Html\Model\FormField · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly ?string $actionTargetPDF\Html\Model\FormField
public readonly ?string $actionTypePDF\Html\Model\FormField
public readonly array $actionsPDF\Html\Model\FormField
public readonly array|string|null $defaultValuePDF\Html\Model\FormField
public readonly int $flagsPDF\Html\Model\FormField
public readonly ?string $mappingNamePDF\Html\Model\FormField
public readonly ?int $maximumLengthPDF\Html\Model\FormField
public readonly string $namePDF\Html\Model\FormField
public readonly array $optionsPDF\Html\Model\FormField
public readonly ?PDF\Html\Forms\ResetFormAction $resetActionPDF\Html\Model\FormField
public readonly ?string $richTextPDF\Html\Model\FormField
public readonly array $selectedIndicesPDF\Html\Model\FormField
public readonly ?PDF\Html\Forms\SubmitFormAction $submitActionPDF\Html\Model\FormField
public readonly int $submitFlagsPDF\Html\Model\FormField
public readonly PDF\Html\Forms\FieldType $typePDF\Html\Model\FormField
public readonly array|string|null $valuePDF\Html\Model\FormField