API17

API17:JHtmlSelect::groupedlist

From Joomla! Documentation

Joomla 11.1 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


User contributed notes

Code Examples