Difference between revisions of "JHtmlSelect"
From Joomla! Documentation
(Layout updates) |
m (preparing for archive only) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | + | =={{JVer|11.1}} JHtmlSelect== | |
− | + | ===Description=== | |
− | + | ||
− | {{ | + | |
− | |||
− | |||
− | |||
− | === | ||
− | |||
− | |||
− | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
+ | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
− | |[[JHtmlSelect::booleanlist | + | |public static |
+ | |[[API17:JHtmlSelect::booleanlist|booleanlist]] | ||
|Generates a yes/no radio list. | |Generates a yes/no radio list. | ||
|- | |- | ||
− | |[[JHtmlSelect::genericlist | + | |public static |
+ | |[[API17:JHtmlSelect::genericlist|genericlist]] | ||
|Generates an HTML selection list. | |Generates an HTML selection list. | ||
|- | |- | ||
− | |[[JHtmlSelect::groupedlist | + | |public static |
+ | |[[API17:JHtmlSelect::groupedlist|groupedlist]] | ||
|Generates a grouped HTML selection list from nested arrays. | |Generates a grouped HTML selection list from nested arrays. | ||
|- | |- | ||
− | |[[JHtmlSelect::integerlist | + | |public static |
+ | |[[API17:JHtmlSelect::integerlist|integerlist]] | ||
|Generates a selection list of integers. | |Generates a selection list of integers. | ||
|- | |- | ||
− | |[[JHtmlSelect::optgroup | + | |public static |
+ | |[[API17:JHtmlSelect::optgroup|optgroup]] | ||
|Create a placeholder for an option group. | |Create a placeholder for an option group. | ||
|- | |- | ||
− | |[[JHtmlSelect::option | + | |public static |
+ | |[[API17:JHtmlSelect::option|option]] | ||
|Create an object that represents an option in an option list. | |Create an object that represents an option in an option list. | ||
|- | |- | ||
− | |[[JHtmlSelect::options | + | |public static |
+ | |[[API17:JHtmlSelect::options|options]] | ||
|Generates the option tags for an HTML select list (with no select tag surrounding the options). | |Generates the option tags for an HTML select list (with no select tag surrounding the options). | ||
|- | |- | ||
− | |[[JHtmlSelect::radiolist | + | |public static |
+ | |[[API17:JHtmlSelect::radiolist|radiolist]] | ||
|Generates an HTML radio list. | |Generates an HTML radio list. | ||
|- | |- | ||
|} | |} | ||
+ | * '''Defined in''' libraries/joomla/html/html/select.php | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.html.html.select' );</source> | <source lang="php">jimport( 'joomla.html.html.select' );</source> | ||
===See also=== | ===See also=== | ||
− | * JHtmlSelect source code | + | * {{JVer|11.1}} '''JHtmlSelect source code''' on [[jplatform:html/html/select.php|BitBucket]] |
− | * [[ | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage Html|Html]] |
− | + | * [[API17:JHtmlSelect|Other versions of JHtmlSelect]] | |
− | + | ||
− | + | ||
− | + | ===User contributed notes=== | |
− | ===Examples=== | + | === Code Examples === |
− | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JHtmlSelect | category=JHtmlSelect | ||
− | + | namespace=CodeExample | |
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <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.
JHtmlSelect[edit]
Description[edit]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public static | booleanlist | Generates a yes/no radio list. |
public static | genericlist | Generates an HTML selection list. |
public static | groupedlist | Generates a grouped HTML selection list from nested arrays. |
public static | integerlist | Generates a selection list of integers. |
public static | optgroup | Create a placeholder for an option group. |
public static | option | Create an object that represents an option in an option list. |
public static | options | Generates the option tags for an HTML select list (with no select tag surrounding the options). |
public static | radiolist | Generates an HTML radio list. |
- Defined in libraries/joomla/html/html/select.php
Importing[edit]
jimport( 'joomla.html.html.select' );
See also[edit]
- JHtmlSelect source code on BitBucket
- Subpackage Html
- Other versions of JHtmlSelect
User contributed notes[edit]
Code Examples[edit]