Documentation

Form
in package

Pdf form class

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

Copyright (c) 2009-2021 NOLA Interactive, LLC. (http://www.nolainteractive.com)

license

http://www.popphp.org/license New BSD License

version
4.2.0

Table of Contents

$fields  : array<string|int, mixed>
Form field indices
$name  : string
Form name
__construct()  : mixed
Constructor
addFieldIndex()  : Form
Add field index
getFieldIndices()  : array<string|int, mixed>
Get field indices
getName()  : string
Get the form name
getNumberOfFields()  : array<string|int, mixed>
Get number of fields
getStream()  : string
Get the form stream
setName()  : Form
Set form name

Properties

$fields

Form field indices

protected array<string|int, mixed> $fields = []

$name

Form name

protected string $name = null

Methods

__construct()

Constructor

public __construct(string $name) : mixed

Instantiate a PDF form object.

Parameters
$name : string
Return values
mixed

addFieldIndex()

Add field index

public addFieldIndex(int $i) : Form
Parameters
$i : int
Return values
Form

getFieldIndices()

Get field indices

public getFieldIndices() : array<string|int, mixed>
Return values
array<string|int, mixed>

getName()

Get the form name

public getName() : string
Return values
string

getNumberOfFields()

Get number of fields

public getNumberOfFields() : array<string|int, mixed>
Return values
array<string|int, mixed>

getStream()

Get the form stream

public getStream(int $i) : string
Parameters
$i : int
Return values
string

setName()

Set form name

public setName(string $name) : Form
Parameters
$name : string
Return values
Form

Search results