setasign\SetaPDF2\Merger\Collection\Schema
Field Class representing a field in a schema.
File: /SetaPDF v2/Merger/Collection/Schema/Field.php
Old class name (alias):
\SetaPDF_Merger_Collection_Schema_Field
Class hierarchy
Summary
Properties
$_dictionary
The field dictionary.
Static Methods
create()
string $dataType,
string $encoding = 'UTF-8'
Create a schema field by a name and data type.
Parameters
- $fieldName : string
- $dataType : string
- $encoding : string
Methods
__construct()
getAllowEdit()
Get a flag indicating whether the interactive PDF processor should provide support for editing the field value.
getName()
Get the textual field name that shall be presented to the user by the interactive PDF processor.
Parameters
- $encoding : string
Exceptions
setAllowEdit()
Set a flag indicating whether the interactive PDF processor should provide support for editing the field value.
Parameters
- $allowEdit : bool
setName()
string $encoding = 'UTF-8'
Set the textual field name that shall be presented to the user by the interactive PDF processor.
Parameters
- $name : string
- $encoding : string
setOrder()
Set the relative order of the field name in the user interface.
If you set it, you should set this in all fields. Otherwise you will get an unexpected result in different PDF viewers.
Parameters
- $order : int
setVisibility()
Set the initial visibility of the field in the user interface.
Parameters
- $visibility : bool