Actions

API17

JHtmlSelect::booleanlist

From Joomla! Documentation

Revision as of 20:43, 23 April 2011 by Doxiki2 (Talk | contribs)

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JHtmlSelect::booleanlist

Description

Generates a yes/no radio list.

Description:JHtmlSelect::booleanlist [Edit Descripton]

Synopsis

public static JHtmlSelect::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 in

libraries/joomla/html/html/select.php (line 51)

Referenced by

See also

[Edit See Also]

SeeAlso:JHtmlSelect::booleanlist

Examples

<CodeExamplesForm />