API17

Difference between revisions of "JHtmlSelect::radiolist"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (preparing for archive only)
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
Generates an HTML radio list.  
 
Generates an HTML radio list.  
  
{{Description:JHtmlSelect::radiolist}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JHtmlSelect::radiolist|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
<source lang="php">
 
<source lang="php">
 
public static function radiolist (
 
public static function radiolist (
Line 72: Line 70:
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JHtmlSelect::radiolist source code''' on [[jplatform:html/html/select.php#cl-640|BitBucket]]
 
* {{JVer|11.1}} '''JHtmlSelect::radiolist source code''' on [[jplatform:html/html/select.php#cl-640|BitBucket]]
* {{JVer|11.1}} Class [[JHtmlSelect/11.1|JHtmlSelect]]
+
* {{JVer|11.1}} Class [[API17:JHtmlSelect|JHtmlSelect]]
* {{JVer|11.1}} Subpackage [[Subpackage_Html/11.1|Html]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Html|Html]]
* [[JHtmlSelect::radiolist|Other versions of JHtmlSelect::radiolist]]
+
* [[API17:JHtmlSelect::radiolist|Other versions of JHtmlSelect::radiolist]]
{{SeeAlso:JHtmlSelect::radiolist}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JHtmlSelect::radiolist|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===User contributed notes===
 
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JHtmlSelect::radiolist
 
category=JHtmlSelect::radiolist
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
Line 90: Line 86:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JHtmlSelect]][[Category:JHtmlSelect::radiolist]]</noinclude>
+
<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.

Joomla 11.1 JHtmlSelect::radiolist[edit]

Description[edit]

Generates an HTML radio list.


public static function radiolist (
        $data
        $name
        $attribs=null
        $optKey= 'value'
        $optText= 'text'
        $selected=null
        $idtag=false
        $translate=false
)
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[edit]


User contributed notes[edit]

Code Examples[edit]