JHTMLSelect::booleanlist/1.5

From Joomla! Documentation
Jump to: navigation, search

Joomla 1.5 JHTMLSelect::booleanlist

Description

Generates a yes/no radio list.

Description:JHTMLSelect::booleanlist [Edit Descripton]

public function booleanlist (
        $name
        $attribs=null
        $selected=null
        $yes='yes'
        $no='no'
        $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 'yes'
$no 'no'
$id false
  • Returns string HTML for the radio list
  • Defined on line 268 of libraries/joomla/html/html/select.php

See also

SeeAlso:JHTMLSelect::booleanlist [Edit See Also]

User contributed notes

<CodeExamplesForm />


Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox