JHtmlSelect::option
Create an object that represents an option in an option list.
Signature
public function option(string
$value,
[string
$text = '',
[mixed
$optKey = 'value',
[string
$optText = 'text',
[boolean
$disable = false]]]] )
Parameters
-
$value
- The value of the option
-
$text
- The text for the option
-
$optKey
- If a string, the returned object property name for
-
$optText
- The property that will hold the the displayed text. This
-
$disable
- Not used.