Manuals

 

SetaPDF_FormFiller::getRelatedFields()

Description

class SetaPDF_FormFiller extends SetaPDF {
mixed getRelatedFields ( [string $byFieldName=null] ) }

This method can be used to query related field names (same named fields).

Parameters

$byFieldName

The name of a form field.

Return value

An array of field names if the $byFieldName isn't NULL and a form field with the given name exists.

If $byFieldName is NULL an array with all related field names will be returned. For each field with related fields an array entry will be created where by the original field names will be the key in the main array.