• Bookmark at: Del.icio.us
  • Bookmark at: Mister Wong
  • Bookmark at: Linkarena
  • Bookmark at: Digg
  • Bookmark at: Yahoo
  • Bookmark at: Google
  • Bookmark at: Icio

Manuals

 

SetaPDF_ChoiceField::getOptions()

Description

class SetaPDF_ChoiceField extends SetaPDF_FormField {
array getOptions ( [string $encoding='windows-1252'] ) }

This method returns the available options of the desired choice field.

Parameters

$encoding

Defines the encoding of the returned strings.

By default the API use mb_convert_encoding() to convert the encoding. If the mb_* functions are not available iconv() is used.

Return Value

An array of name and value pairs.