Class JFormFieldGroupedList

Description

Form Field class for the Joomla Platform.

Provides a grouped list select field.

  • since: 11.1

Located in /libraries/joomla/form/fields/groupedlist.php (line 20)

JFormField
   |
   --JFormFieldGroupedList
Direct descendents
Class Description
 class JFormFieldChromeStyle Chrome Styles Form Field class for the Joomla Platform.
 class JFormFieldMenuitem Supports an HTML grouped select list of menu item grouped by menu
 class JFormFieldTemplatestyle Form Field class for the Joomla CMS.
 class FOFFormFieldGroupedlist Form Field class for FOF Supports a generic list of options.
 class JFormFieldTimezone Form Field class for the Joomla Platform.
Variable Summary
 string $type
Method Summary
 array getGroups ()
 string getInput ()
Variables
Methods
getGroups (line 38)

Method to get the field option groups.

  • return: The field option objects as a nested array in groups.
  • since: 11.1
  • throws: UnexpectedValueException
  • access: protected
array getGroups ()

Redefined in descendants as:
getInput (line 142)

Method to get the field input markup fora grouped list.

Multiselect is enabled by using the multiple attribute.

  • return: The field input markup.
  • since: 11.1
  • access: protected
string getInput ()

Redefinition of:
JFormField::getInput()
Method to get the field input markup.

Inherited Methods

Inherited From JFormField

 JFormField::__construct()
 JFormField::getAttribute()
 JFormField::getControlGroup()
 JFormField::getFieldName()
 JFormField::getId()
 JFormField::getInput()
 JFormField::getLabel()
 JFormField::getName()
 JFormField::getTitle()
 JFormField::setForm()
 JFormField::setup()
 JFormField::setValue()
 JFormField::__get()
 JFormField::__set()

Documentation generated on Tue, 19 Nov 2013 15:04:06 +0100 by phpDocumentor 1.4.3