JFormFieldGroupedList

Extends \JFormField

Form Field class for the Joomla Platform.

Provides a grouped list select field.

since

1.7.0

package

Joomla.Platform

Methods

getGroups

Method to get the field option groups.

getGroups() : array
since

1.7.0

throws

\UnexpectedValueException

Response

arrayThe field option objects as a nested array in groups.

getInput

Method to get the field input markup fora grouped list.

getInput() : string

Multiselect is enabled by using the multiple attribute.

since

1.7.0

Response

stringThe field input markup.

Properties

type

The form field type.

since

1.7.0

Type(s)

string