class JFormFieldComponents extends JFormFieldList

Form Field class for the Joomla Framework.

Methods

addOption( string $text, array $attributes = array())

Method to add an option to the list field.

mixed
__get( string $name)

Method to get certain otherwise inaccessible properties from the form field object.

Details

JFormFieldList addOption( string $text, array $attributes = array())

Method to add an option to the list field.

Parameters

string $text Text/Language variable of the option.
array $attributes Array of attributes ('name' => 'value' format)

Return Value

JFormFieldList For chaining.

mixed __get( string $name)

Method to get certain otherwise inaccessible properties from the form field object.

Parameters

string $name The property name for which to get the value.

Return Value

mixed The property value or null.