\AlternativeFormField
Synopsis
class AlternativeFormField
extends FormField
{
- // members
- public static string $module_dir = '';
- private static array $options = ;
- private static string $empty_string = '-- Select --';
- private static string $alternative_field_title = 'Please state:';
- protected $fieldSelectedValue = NULL;
- protected $fieldAlternativeValue = NULL;
- // methods
- public void __construct()
- public void getOptions()
- public void getEmptyString()
- public void getAlternativeFieldTitle()
- public void setForm()
- public void setName()
- public void setValue()
- public string Field()
- public void saveInto()
Hierarchy
Extends
- FormField
Members
private
- $alternative_field_title
- $empty_string
- $options
protected
- $fieldAlternativeValue
- $fieldSelectedValue
public
- $module_dir
Methods
public
- __construct()
- Field()
- getAlternativeFieldTitle()
- getEmptyString()
- getOptions()
- saveInto() — SaveInto checks if set-methods are available and use them instead of setting the values directly. saveInto initiates a new LinkField class object to pass through the values to the setter method.
- setForm()
- setName()
- setValue()