Difference between revisions of "JHtmlSelect::booleanlist"
From Joomla! Documentation
m (JoomlaWikiBot moved page JHtmlSelect::booleanlist/11.1 to API17:JHtmlSelect::booleanlist without leaving a redirect: Robot: Moved page) |
m (preparing for archive only) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
Generates a yes/no radio list. | Generates a yes/no radio list. | ||
− | + | ||
− | + | ||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
public static function booleanlist ( | public static function booleanlist ( | ||
Line 60: | Line 58: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JHtmlSelect::booleanlist source code''' on [[jplatform:html/html/select.php#cl-43|BitBucket]] | * {{JVer|11.1}} '''JHtmlSelect::booleanlist source code''' on [[jplatform:html/html/select.php#cl-43|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JHtmlSelect | + | * {{JVer|11.1}} Class [[API17:JHtmlSelect|JHtmlSelect]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Html | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Html|Html]] |
− | * [[JHtmlSelect::booleanlist|Other versions of JHtmlSelect::booleanlist]] | + | * [[API17:JHtmlSelect::booleanlist|Other versions of JHtmlSelect::booleanlist]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JHtmlSelect::booleanlist | category=JHtmlSelect::booleanlist | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Line 78: | Line 74: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 22:13, 24 March 2017
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]