JHTMLSelect::booleanlist/1.5
From Joomla! Documentation
JHTMLSelect::booleanlist
Description
Generates a yes/no radio list.
Description:JHTMLSelect::booleanlist [Edit Descripton]
public function booleanlist ( $name $attribs=null $selected=null $yes='yes' $no='no' $id=false )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $name | string | The value of the HTML name attribute | |
| $attribs | string | null | Additional HTML attributes for the <select> tag |
| $selected | mixed | null | The key that is selected |
| $yes | 'yes' | ||
| $no | 'no' | ||
| $id | false |
- Returns string HTML for the radio list
- Defined on line 268 of libraries/joomla/html/html/select.php
See also
-
JHTMLSelect::booleanlist on api.joomla.org
-
JHTMLSelect source code on JoomlaCode
-
Class JHTMLSelect
-
Subpackage Html
- Other versions of JHTMLSelect::booleanlist
SeeAlso:JHTMLSelect::booleanlist [Edit See Also]
User contributed notes
<CodeExamplesForm />