\Pop\Pdf\DocumentForm

Pdf form class

Summary

Methods
Properties
Constants
__construct()
setName()
getName()
addFieldIndex()
getFieldIndices()
getNumberOfFields()
getStream()
No public properties found
No constants found
No protected methods found
$name
$fields
N/A
No private methods found
No private properties found
N/A

Properties

$name

$name : array

Form fields

Type

array

$fields

$fields : array

Form field indices

Type

array

Methods

__construct()

__construct(string  $name) 

Constructor

Instantiate a PDF form object.

Parameters

string $name

setName()

setName(string  $name) : \Pop\Pdf\Document\Form

Set form name

Parameters

string $name

Returns

\Pop\Pdf\Document\Form

getName()

getName() : string

Get the form name

Returns

string

addFieldIndex()

addFieldIndex(integer  $i) : \Pop\Pdf\Document\Form

Add field index

Parameters

integer $i

Returns

\Pop\Pdf\Document\Form

getFieldIndices()

getFieldIndices() : array

Get field indices

Returns

array

getNumberOfFields()

getNumberOfFields() : array

Get number of fields

Returns

array

getStream()

getStream(integer  $i) : string

Get the form stream

Parameters

integer $i

Returns

string