JHtmlSelect::booleanlist
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JHtmlSelect::booleanlist[edit]
Description[edit]
Generates a yes/no radio list.
public static function booleanlist (
$name
$attribs=null
$selected=null
$yes= 'JYES'
$no= 'JNO'
$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 | 'JYES' | ||
$no | 'JNO' | ||
$id | false |
- Returns string HTML for the radio list
- Defined on line 51 of libraries/joomla/html/html/select.php
See also[edit]
JHtmlSelect::booleanlist source code on BitBucket
Class JHtmlSelect
Subpackage Html
- Other versions of JHtmlSelect::booleanlist
User contributed notes[edit]
Code Examples[edit]