API17:JHtmlSelect::groupedlist
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JHtmlSelect::groupedlist
Description
Generates a grouped HTML selection list from nested arrays.
Description:JHtmlSelect::groupedlist [Edit Descripton]
Synopsis
public static JHtmlSelect::groupedlist ($data, $name, $options=array())
| Parameter | Type | Default | Description |
|---|---|---|---|
| $data | If a group has unprocessable contents. | ||
| $name | string | The value of the HTML name attribute | |
| $options | array | array() | Options, an array of key/value pairs. Valid options are: |
Returns
string HTML for the select list
Defined in
libraries/joomla/html/html/select.php (line 164)
- see source code in BitBucket
Referenced by
See also
SeeAlso:JHtmlSelect::groupedlist
Examples
<CodeExamplesForm />
