\Hazaar\Html
Optgroup
The HTML optgroup class.

Displays an HTML <optgroup> element.

Tags

Since

1.1

Summary
Methods Properties Constants
add
No constants
Properties
$use_options_index_as_value
$use_options_index_as_value
$value
$value
Methods
__construct()
__construct($label, $options = null, $value = null, $params = Array ( ) , $use_options_index_as_value = true)

The HTML optgroup constructor.

Tags

Since

1.1

Parameters

$label

No description

$options

No description

$value

No description

$params

No description

$use_options_index_as_value

No description

add()
add()
addOption()
addOption($label, $value = null, $params = Array ( ) )

Parameters

$label

No description

$value

No description

$params

No description