JHtmlSelect::booleanlist
Generates a yes/no radio list.
Signature
public function booleanlist(string
$name,
[array
$attribs = null,
[string
$selected = null,
[string
$yes = 'JYES',
[string
$no = 'JNO',
[string
$id = false]]]]] )
Parameters
-
$name
- The value of the HTML name attribute
-
$attribs
- Additional HTML attributes for the <select> tag
-
$selected
- The key that is selected
-
$yes
- Language key for Yes
-
$no
- Language key for no
-
$id
- The id for the field
Returns
- string
- HTML for the radio list