\JHtmlSelect
Utility class for creating HTML select lists
Synopsis
class JHtmlSelect
{
- // members
- protected $optionDefaults;
- // methods
- public static string booleanlist()
- public static string genericlist()
- public static string suggestionlist()
- public static string groupedlist()
- public static string integerlist()
- public static optgroup()
- public static option()
- public static string options()
- public static string radiolist()
Members
protected
- $optionDefaults
—
array
Default values for options. Organized by option group.
Methods
public
- booleanlist() — Generates a yes/no radio list.
- genericlist() — Generates an HTML selection list.
- groupedlist() — Generates a grouped HTML selection list from nested arrays.
- integerlist() — Generates a selection list of integers.
- optgroup() — Create a placeholder for an option group.
- option() — Create an object that represents an option in an option list.
- options() — Generates the option tags for an HTML select list (with no select tag surrounding the options).
- radiolist() — Generates an HTML radio list.
- suggestionlist() — Method to build a list with suggestions