API17:JHtmlSelect::groupedlist
From Joomla! Documentation
JHtmlSelect::groupedlist
Description
Generates a grouped HTML selection list from nested arrays.
public static function 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: Format options, { |
- Returns string HTML for the select list
- Defined on line 166 of libraries/joomla/html/html/select.php
See also
JHtmlSelect::groupedlist source code on BitBucket
Class JHtmlSelect
Subpackage Html- Other versions of JHtmlSelect::groupedlist
User contributed notes
Code Examples