JHTMLSelect::option/1.5
From Joomla! Documentation
JHTMLSelect::option
Description
Description:JHTMLSelect::option [Edit Descripton]
public function option ( $value $text='' $value_name='value' $text_name='text' $disable=false )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $value | string | The value of the option | |
| $text | string | The text for the option | |
| $value_name | string | 'value' | The returned object property name for the value |
| $text_name | string | 'text' | The returned object property name for the text |
| $disable | false |
- Returns object
- Defined on line 33 of libraries/joomla/html/html/select.php
See also
-
JHTMLSelect::option on api.joomla.org
-
JHTMLSelect source code on JoomlaCode
-
Class JHTMLSelect
-
Subpackage Html
- Other versions of JHTMLSelect::option
SeeAlso:JHTMLSelect::option [Edit See Also]
User contributed notes
<CodeExamplesForm />