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