Difference between revisions of "JHtmlSelect::radiolist"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (JoomlaWikiBot moved page JHtmlSelect::radiolist/11.1 to API17:JHtmlSelect::radiolist without leaving a redirect: Robot: Moved page)
(No difference)

Revision as of 17:51, 10 May 2013

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::radiolist


Generates an HTML radio list.

Description:JHtmlSelect::radiolist [Edit Descripton]

public static function radiolist (
        $optKey= 'value'
        $optText= 'text'
Parameter Type Default Description
$data array An array of objects
$name string The value of the HTML name attribute
$attribs string null Additional HTML attributes for the <select> tag
$optKey mixed 'value' The key that is selected
$optText string 'text' The name of the object variable for the option value
$selected string null The name of the object variable for the option text
$idtag false
$translate false
  • Returns string HTML for the select list
  • Defined on line 648 of libraries/joomla/html/html/select.php

See also

SeeAlso:JHtmlSelect::radiolist [Edit See Also]

User contributed notes

<CodeExamplesForm />